]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4/pnfs: Fix layoutget behaviour after invalidation
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 2 Jul 2021 23:48:41 +0000 (19:48 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 8 Jul 2021 18:03:26 +0000 (14:03 -0400)
commitdb646d42be5107f33a984df3f22a750192fc55a8
tree4d1aee9735e977088e1bd02837aae42d52620797
parent84a846a869590279669510d65229109b4ebeacc5
NFSv4/pnfs: Fix layoutget behaviour after invalidation

If the layout gets invalidated, we should wait for any outstanding
layoutget requests for that layout to complete, and we should resend
them only after re-establishing the layout stateid.

Fixes: d5125585c346 ("pNFS/NFSv4: Improve rejection of out-of-order layouts")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs.c