diff options
author | Steve Dickson <steved@redhat.com> | 2007-04-14 17:01:15 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-04-30 22:17:16 -0700 |
commit | 74dd34e6e8bb127ff4c182423154b294729b663b (patch) | |
tree | 6e5aef4263a4026942efd03fc2ea974a419153b1 /include/linux/nfs_mount.h | |
parent | 00a6e7bbf990e3a5e59a9a1e6a68e99c94fe001c (diff) | |
download | lwn-74dd34e6e8bb127ff4c182423154b294729b663b.tar.gz lwn-74dd34e6e8bb127ff4c182423154b294729b663b.zip |
NFS: Added support to turn off the NFSv3 READDIRPLUS RPC.
READDIRPLUS can be a performance hindrance when the client is working with
large directories. In addition, some servers still have bugs in their
implementations (e.g. Tru64 returns wrong values for the fsid).
Add a mount flag to enable users to turn it off at mount time following the
implementation in Apple's NFS client.
Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_mount.h')
-rw-r--r-- | include/linux/nfs_mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_mount.h b/include/linux/nfs_mount.h index 659c75438454..cc8b9c59acb8 100644 --- a/include/linux/nfs_mount.h +++ b/include/linux/nfs_mount.h @@ -61,6 +61,7 @@ struct nfs_mount_data { #define NFS_MOUNT_NOACL 0x0800 /* 4 */ #define NFS_MOUNT_STRICTLOCK 0x1000 /* reserved for NFSv4 */ #define NFS_MOUNT_SECFLAVOUR 0x2000 /* 5 */ +#define NFS_MOUNT_NORDIRPLUS 0x4000 /* 5 */ #define NFS_MOUNT_FLAGMASK 0xFFFF #endif |