]> 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)
commit7dbe462a101d91809cf38542b3e7c8b8b2b38b2c
treef1f3b751cf25b4dda591f2a89144b804f900e61a
parent39718ec83b0755254b8a0b99d0ed6eab348ad54b
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