Commit d29b468
Trond Myklebust
pNFS/NFSv4: Improve rejection of out-of-order layouts
If a layoutget ends up being reordered w.r.t. a layoutreturn, e.g. due
to a layoutget-on-open not knowing a priori which file to lock, then we
must assume the layout is no longer being considered valid state by the
server.
Incrementally improve our ability to reject such states by using the
cached old stateid in conjunction with the plh_barrier to try to
identify them.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>1 parent 1bcf34f commit d29b468
1 file changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
1003 | | - | |
| 1003 | + | |
1004 | 1004 | | |
1005 | 1005 | | |
1006 | 1006 | | |
| |||
1912 | 1912 | | |
1913 | 1913 | | |
1914 | 1914 | | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
1915 | 1920 | | |
1916 | 1921 | | |
1917 | 1922 | | |
| |||
2386 | 2391 | | |
2387 | 2392 | | |
2388 | 2393 | | |
2389 | | - | |
2390 | | - | |
2391 | | - | |
2392 | | - | |
| 2394 | + | |
2393 | 2395 | | |
2394 | 2396 | | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
2395 | 2400 | | |
2396 | 2401 | | |
2397 | 2402 | | |
2398 | 2403 | | |
2399 | | - | |
| 2404 | + | |
2400 | 2405 | | |
2401 | 2406 | | |
2402 | 2407 | | |
| |||
2409 | 2414 | | |
2410 | 2415 | | |
2411 | 2416 | | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
| 2421 | + | |
2412 | 2422 | | |
2413 | 2423 | | |
2414 | 2424 | | |
| |||
0 commit comments