diff options
author | NeilBrown <neilb@suse.com> | 2019-03-07 09:49:46 +1100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-03-08 14:30:31 -0500 |
commit | f875a792abe933d0b4553ab6e29c624b58932e41 (patch) | |
tree | b866463dc65f11f6a3ec930aae575425c054f94f /net | |
parent | dd838821f0a29781b185cd8fb8e48d5c177bd838 (diff) | |
download | linux-f875a792abe933d0b4553ab6e29c624b58932e41.tar.gz linux-f875a792abe933d0b4553ab6e29c624b58932e41.tar.bz2 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')
0 files changed, 0 insertions, 0 deletions