diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-01-20 22:37:11 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-30 23:32:03 +0200 |
commit | 561f0ed498ca4342573a870779cc645d3fd7dfe7 (patch) | |
tree | af3b710f0021e31502de81487de81a819368521d /fs/nfsd/xdr4.h | |
parent | nfsd4: use session limits to release send buffer reservation (diff) | |
download | linux-561f0ed498ca4342573a870779cc645d3fd7dfe7.tar.xz linux-561f0ed498ca4342573a870779cc645d3fd7dfe7.zip |
nfsd4: allow large readdirs
Currently we limit readdir results to a single page. This can result in
a performance regression compared to NFSv3 when reading large
directories.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/xdr4.h')
-rw-r--r-- | fs/nfsd/xdr4.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 41e522993d94..18cbb6d9c8a9 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h @@ -287,9 +287,8 @@ struct nfsd4_readdir { struct svc_fh * rd_fhp; /* response */ struct readdir_cd common; - __be32 * buffer; - int buflen; - __be32 * offset; + struct xdr_stream *xdr; + int cookie_offset; }; struct nfsd4_release_lockowner { |