]> 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)
commit48553c3cba74e76cc884bdc3e14378500ec5632d
tree4d1aee9735e977088e1bd02837aae42d52620797
parent650d3998dacb2de2ae9614b5f956b8c69ecfcd8e
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: c6013781a0c9 ("pNFS/NFSv4: Improve rejection of out-of-order layouts")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs.c