OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1117-ga8c46e5
Gerrit Code Review
gerrit@openafs.org
Tue, 26 Apr 2011 07:33:53 -0700 (PDT)
The following commit has been merged in the master branch:
commit a8c46e5010c0b4e41ad66458b8723e32f99b427d
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
Change-Id: I2a12c6716dc1974683c2582eb9ada5f841067dd9
Reviewed-on: http://gerrit.openafs.org/4563
Reviewed-by: Derrick Brashear <shadow@dementia.org>
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