Home
last modified time | relevance | path

Searched hist:"728 dd0ab37421396927749fc8cec9c2009c526c8" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dnfs_fs.hdiff 728dd0ab37421396927749fc8cec9c2009c526c8 Tue Feb 22 07:59:33 CST 2022 Trond Myklebust <trond.myklebust@hammerspace.com> NFS: Don't re-read the entire page cache to find the next cookie

If the page cache entry that was last read gets invalidated for some
reason, then make sure we can re-create it on the next call to readdir.
This, combined with the cache page validation, allows us to reuse the
cached value of page-index on successive calls to nfs_readdir.

Credit is due to Benjamin Coddington for showing that the concept works,
and that it allows for improved cache sharing between processes even in
the case where pages are lost due to LRU or active invalidation.

Suggested-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
/openbmc/linux/fs/nfs/
H A Ddir.cdiff 728dd0ab37421396927749fc8cec9c2009c526c8 Tue Feb 22 07:59:33 CST 2022 Trond Myklebust <trond.myklebust@hammerspace.com> NFS: Don't re-read the entire page cache to find the next cookie

If the page cache entry that was last read gets invalidated for some
reason, then make sure we can re-create it on the next call to readdir.
This, combined with the cache page validation, allows us to reuse the
cached value of page-index on successive calls to nfs_readdir.

Credit is due to Benjamin Coddington for showing that the concept works,
and that it allows for improved cache sharing between processes even in
the case where pages are lost due to LRU or active invalidation.

Suggested-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>