diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2010-10-20 15:44:37 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-10-23 15:27:35 -0400 |
commit | 56e4ebf877b6043c289bda32a5a7385b80c17dee (patch) | |
tree | 160ae8d5b5ee3871d02a9f5283187430c9ec5ffe /include/linux/nfs_xdr.h | |
parent | afa8ccc978c24d8ab22e3b3b8cbd1054c84c070b (diff) |
NFS: readdir with vmapped pages
We can use vmapped pages to read more information from the network at once.
This will reduce the number of calls needed to complete a readdir.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
[trondmy: Added #include for linux/vmalloc.h> in fs/nfs/dir.c]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r-- | include/linux/nfs_xdr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index ca0e8fd7feec..1b9a17a1f235 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -1026,7 +1026,7 @@ struct nfs_rpc_ops { | |||
1026 | int (*mkdir) (struct inode *, struct dentry *, struct iattr *); | 1026 | int (*mkdir) (struct inode *, struct dentry *, struct iattr *); |
1027 | int (*rmdir) (struct inode *, struct qstr *); | 1027 | int (*rmdir) (struct inode *, struct qstr *); |
1028 | int (*readdir) (struct dentry *, struct rpc_cred *, | 1028 | int (*readdir) (struct dentry *, struct rpc_cred *, |
1029 | u64, struct page *, unsigned int, int); | 1029 | u64, struct page **, unsigned int, int); |
1030 | int (*mknod) (struct inode *, struct dentry *, struct iattr *, | 1030 | int (*mknod) (struct inode *, struct dentry *, struct iattr *, |
1031 | dev_t); | 1031 | dev_t); |
1032 | int (*statfs) (struct nfs_server *, struct nfs_fh *, | 1032 | int (*statfs) (struct nfs_server *, struct nfs_fh *, |