]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Reduce use of uncached readdir
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 17 Feb 2022 18:02:37 +0000 (13:02 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Mar 2022 13:43:38 +0000 (08:43 -0500)
commit41def8f9074dd2b246d90e62b5774465f03f0431
tree6e9caaf1b20fef8d3b9ce14344659044a2143ae8
parent7e8cfe2670e65b7ee652d0be694165373cf305fd
NFS: Reduce use of uncached readdir

When reading a very large directory, we want to try to keep the page
cache up to date if doing so is inexpensive. With the change to allow
readdir to continue reading even when the cache is incomplete, we no
longer need to fall back to uncached readdir in order to scale to large
directories.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c