]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Optimisations for monotonically increasing readdir cookies
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 4 Nov 2020 13:32:19 +0000 (08:32 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Dec 2020 19:05:52 +0000 (14:05 -0500)
commit91f63a81303c5eba136bafcf0c724d302616a3c0
treef1f3b751cf25b4dda591f2a89144b804f900e61a
parentf3922951d80b8de3127321cf82185ef10f50c8be
NFS: Optimisations for monotonically increasing readdir cookies

If the server is handing out monotonically increasing readdir cookie values,
then we can optimise away searches through pages that contain cookies that
lie outside our search range.

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