Skip to content
Commit 029085b8 authored by Chengen Du's avatar Chengen Du Committed by Trond Myklebust
Browse files

NFS: Judge the file access cache's timestamp in rcu path



If the user's login time is newer than the cache's timestamp,
we expect the cache may be stale and need to clear.
The stale cache will remain in the list's tail if no other
users operate on that inode.
Once the user accesses the inode, the stale cache will be
returned in rcu path.

Signed-off-by: default avatarChengen Du <chengen.du@canonical.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent a6b9d2fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment