OSDN Git Service

NFS: Reduce number of RPC calls when doing uncached readdir
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 7 Nov 2020 01:38:47 +0000 (20:38 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:52 +0000 (14:05 -0500)
commit35df59d3ef693292840a61cdb04b39d8c9412f4e
tree22c3bd4fdbc20e80b53cb92047f6e4f9f7ff3327
parent762567b7c798afd08c22811ecfc66885a2b50f91
NFS: Reduce number of RPC calls when doing uncached readdir

If we're doing uncached readdir, allocate multiple pages in order to
try to avoid duplicate RPC calls for the same getdents() call.

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/dir.c