Searched hist:f892c41c14e0fa3d78ce37de1d5c8161ed13bf08 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/nfs/ |
H A D | dir.c | diff f892c41c14e0fa3d78ce37de1d5c8161ed13bf08 Wed Mar 17 07:46:19 CDT 2021 Trond Myklebust <trond.myklebust@hammerspace.com> NFS: Only change the cookie verifier if the directory page cache is empty
The cached NFSv3/v4 readdir cookies are associated with a verifier, which is checked by the server on subsequent calls to readdir, and is only expected to change when the cookies (and hence also the page cache contents) are considered invalid. We therefore do have to store the verifier, but only when the page cache is empty.
Fixes: b593c09f83a2 ("NFS: Improve handling of directory verifiers") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
|