Commit 029085b
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: Chengen Du <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>1 parent a6b9d2f commit 029085b
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3023 | 3023 | | |
3024 | 3024 | | |
3025 | 3025 | | |
| 3026 | + | |
3026 | 3027 | | |
3027 | 3028 | | |
3028 | 3029 | | |
| |||
3037 | 3038 | | |
3038 | 3039 | | |
3039 | 3040 | | |
| 3041 | + | |
| 3042 | + | |
3040 | 3043 | | |
3041 | 3044 | | |
3042 | 3045 | | |
| |||
0 commit comments