kernel-ark/fs/nfs
Chuck Lever b8a32e2b8b NFS: clean up NFS client's a_ops->direct_IO method
The NFS client's a_ops->direct_IO method, nfs_direct_IO, is required to
be present to allow NFS files to be opened with O_DIRECT, but is never
called because the NFS client shunts reads and writes to files opened
with O_DIRECT directly to its own routines.

Gut the nfs_direct_IO function.  This eliminates the only part of the
NFS client's direct I/O path that requires support for multi-segment
iovs, allowing further simplification in subsequent patches.

Test plan:
Compile the kernel with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled.  Millions
of fsx-odirect ops.  OraSim.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-03-20 13:44:28 -05:00
..
callback_proc.c
callback_xdr.c NFSv4: Kill braindead gcc warnings 2006-03-20 13:44:10 -05:00
callback.c
callback.h
delegation.c
delegation.h
dir.c NFS: directory trace messages 2006-03-20 13:44:24 -05:00
direct.c NFS: clean up NFS client's a_ops->direct_IO method 2006-03-20 13:44:28 -05:00
file.c locks,lockd: fix race in nlmsvc_testlock 2006-03-20 13:44:26 -05:00
idmap.c NFS: sem2mutex idmap.c 2006-03-20 13:44:11 -05:00
inode.c NFS: add RPC I/O statistics to /proc/self/mountstats 2006-03-20 13:44:22 -05:00
iostat.h NFS: add hooks to account for NFSERR_JUKEBOX errors 2006-03-20 13:44:14 -05:00
Makefile
mount_clnt.c SUNRPC: eliminate rpc_call() 2006-03-20 13:44:23 -05:00
nfs2xdr.c SUNRPC: display human-readable procedure name in rpc_iostats output 2006-03-20 13:44:22 -05:00
nfs3acl.c SUNRPC: eliminate rpc_call() 2006-03-20 13:44:23 -05:00
nfs3proc.c NFS: Cleanup of NFS read code 2006-03-20 13:44:27 -05:00
nfs3xdr.c SUNRPC: display human-readable procedure name in rpc_iostats output 2006-03-20 13:44:22 -05:00
nfs4_fs.h
nfs4proc.c NFS: Cleanup of NFS read code 2006-03-20 13:44:27 -05:00
nfs4renewd.c
nfs4state.c
nfs4xdr.c SUNRPC: display human-readable procedure name in rpc_iostats output 2006-03-20 13:44:22 -05:00
nfsroot.c
pagelist.c NFS: Avoid races between writebacks and truncation 2006-03-20 13:44:04 -05:00
proc.c NFS: Cleanup of NFS read code 2006-03-20 13:44:27 -05:00
read.c NFS: Cleanup of NFS read code 2006-03-20 13:44:27 -05:00
symlink.c
sysctl.c
unlink.c NFS: kzalloc conversion in fs/nfs 2006-03-20 13:44:10 -05:00
write.c NFS: Cleanup of NFS write code in preparation for asynchronous o_direct 2006-03-20 13:44:27 -05:00