]> 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)
commitfe626c88f300cd23c3e2ef8e94bae31265d2c56e
tree22c3bd4fdbc20e80b53cb92047f6e4f9f7ff3327
parent91f63a81303c5eba136bafcf0c724d302616a3c0
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