Commit 08bd8db
Trond Myklebust
pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()
If the server returns a new stateid that does not match the one in our
cache, then try to return the one we hold instead of just invalidating
it on the client side. This ensures that both client and server will
agree that the stateid is invalid.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>1 parent 814b849 commit 08bd8db
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2398 | 2398 | | |
2399 | 2399 | | |
2400 | 2400 | | |
2401 | | - | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
2402 | 2408 | | |
2403 | 2409 | | |
2404 | 2410 | | |
| |||
2417 | 2423 | | |
2418 | 2424 | | |
2419 | 2425 | | |
2420 | | - | |
2421 | 2426 | | |
2422 | 2427 | | |
2423 | 2428 | | |
| |||
0 commit comments