]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs: Fix handling of NFS4ERR_OLD_STATEID replies to layoutreturn
authorTrond Myklebust <trondmy@gmail.com>
Mon, 30 Jul 2018 02:39:15 +0000 (22:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 8 Aug 2018 20:50:01 +0000 (16:50 -0400)
commitbcb23d5ba426d9bc26eddebfec3d3c044e00e632
treeeed5b981f465ef9d187db1eb1c22a1bc90cd8d6c
parent10f1d160cb4387fc9bc5fdecd3d0fdda6115092f
pnfs: Fix handling of NFS4ERR_OLD_STATEID replies to layoutreturn

If the server tells us that out layoutreturn raced with another layout
update, then we must ensure that the new layout segments are not in use
before we resend with an updated layout stateid.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h