NFS: Support larger readdir buffers
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 1 Nov 2020 19:26:47 +0000 (14:26 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:52 +0000 (14:05 -0500)
commit1a34c8c9a49ee10ccaf91091ddd98c25e4d567dd
treec5a8509e3af3cbc56157619337542043f484e9f4
parenta52a8a6adad99e1162c27f70cd6495626a48064d
NFS: Support larger readdir buffers

Support readdir buffers of up to 1MB in size so that we can read
large directories using few RPC calls.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Tested-by: Dave Wysochanski <dwysocha@redhat.com>
fs/nfs/client.c
fs/nfs/dir.c
fs/nfs/internal.h