Commit e66a8f6
Ronnie Sahlberg
cifs: find and use the dentry for cached non-root directories also
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2151418
commit e4029e0
This allows us to use cached attributes for the entries in a cached
directory for as long as a lease is held on the directory itself.
Previously we have always allowed "used cached attributes for 1 second"
but this extends this to the lifetime of the lease as well as making the
caching safer.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
(cherry picked from commit e4029e0)
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>1 parent de743b9 commit e66a8f6
1 file changed
+49
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
62 | 101 | | |
63 | 102 | | |
64 | 103 | | |
| |||
86 | 125 | | |
87 | 126 | | |
88 | 127 | | |
89 | | - | |
90 | 128 | | |
91 | 129 | | |
92 | 130 | | |
| |||
101 | 139 | | |
102 | 140 | | |
103 | 141 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 142 | | |
112 | 143 | | |
113 | 144 | | |
| |||
199 | 230 | | |
200 | 231 | | |
201 | 232 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | 233 | | |
209 | 234 | | |
210 | 235 | | |
| |||
223 | 248 | | |
224 | 249 | | |
225 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
226 | 261 | | |
227 | 262 | | |
228 | 263 | | |
| |||
0 commit comments