OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_2_1-89-g1d38a73
Gerrit Code Review
gerrit@openafs.org
Wed, 3 Apr 2013 05:44:33 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 1d38a73cb31e44fdbd71f8d90635514936ec1b28
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date: Fri Apr 22 15:23:27 2011 -0400
Linux: cleanup aio support
Code that called directly into the aio operations (ex: readv/writev)
would bypass the AFS specific operations found in afs_linux_read
and afs_linux_write.
Rework the handlers:
- For newer kernels with aio, let the kernel use its default read
and write operations, and define the aio_read and aio_write operations,
with the AFS specific bits, calling into generic_file_aio_read/write.
The kernels default read/write operations are just wrappers around the
aio versions.
- For older kernels, leave things as is, pointing read and write to
afs_linux_read/write
Reviewed-on: http://gerrit.openafs.org/4563
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit a8c46e5010c0b4e41ad66458b8723e32f99b427d)
Change-Id: I3c20064cc911aabfce576178c22fcdc1a99b8125
Reviewed-on: http://gerrit.openafs.org/9492
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/LINUX/osi_vnodeops.c | 86 +++++++++++++++++++++++++++++++++++++++--
src/afs/afs_trace.et | 2 +
2 files changed, 83 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository