Skip to content
Commit f892c41c authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: b593c09f ("NFS: Improve handling of directory verifiers")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 13884ff2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment