diff options
author | NeilBrown <neilb@suse.com> | 2019-03-06 23:49:46 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-03-08 20:30:31 +0100 |
commit | f875a792abe933d0b4553ab6e29c624b58932e41 (patch) | |
tree | b866463dc65f11f6a3ec930aae575425c054f94f /net/sunrpc/xprtrdma/xprt_rdma.h | |
parent | nfsd: fix wrong check in write_v4_end_grace() (diff) | |
download | linux-f875a792abe933d0b4553ab6e29c624b58932e41.tar.xz linux-f875a792abe933d0b4553ab6e29c624b58932e41.zip |
nfsd: allow nfsv3 readdir request to be larger.
nfsd currently reports the NFSv3 dtpref FSINFO parameter
to be PAGE_SIZE, so NFS clients will typically ask for one
page of directory entries at a time. This is needlessly restrictive
as nfsd can handle larger replies easily.
Also, a READDIR request (but not a READDIRPLUS request) has the count
size clipped to PAGE_SIE, again unnecessary.
This patch lifts these limits so that larger readdir requests can be
used.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
0 files changed, 0 insertions, 0 deletions