diff options
author | Chuck Lever <cel@netapp.com> | 2006-03-20 13:44:28 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-20 13:44:28 -0500 |
commit | b8a32e2b8b7fefff994c89d398b6ac920a195b43 (patch) | |
tree | 20f0c2610eddb104a8cbf1d7981b34fc962a92ea /init | |
parent | ec06c096edec0755534c7126f4caded69de131c2 (diff) |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions