]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82c901a5e12803aa5a3bb8603c3e7974095a1bdd
tree22c3bd4fdbc20e80b53cb92047f6e4f9f7ff3327
parent7dbe462a101d91809cf38542b3e7c8b8b2b38b2c
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