]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS: Stricter ordering of layoutget and layoutreturn
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Jan 2021 11:43:45 +0000 (06:43 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 10 Jan 2021 18:32:52 +0000 (13:32 -0500)
commit9e826a6e92679e0e89f172df747640b10b7a18d7
treed66b7f5df77f0bca9feb1ba8334fb67d9d4e58b6
parent87e31b75d948128367657edd3867d5656782522a
pNFS: Stricter ordering of layoutget and layoutreturn

If a layout return is in progress, we should wait for it to complete,
in case the layout segment we are picking up gets returned too.

Fixes: 7f76366d4393 ("pNFS: Handle NFS4ERR_OLD_STATEID on layoutreturn by bumping the state seqid")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/pnfs.c