]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs: Don't release the sequence slot until we've processed layoutget on open
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 22 May 2018 15:17:16 +0000 (11:17 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:03:12 +0000 (15:03 -0400)
commitd658623110f1abc24c19fcc95c7ff1c39757b756
tree44467021cc3ac279cb70b829625eb031c7a3d9d5
parent6e74fd477e8e41ab9f7c51ce2b4e16b6040c3c0c
pnfs: Don't release the sequence slot until we've processed layoutget on open

If the server recalls the layout that was just handed out, we risk hitting
a race as described in RFC5661 Section 2.10.6.3 unless we ensure that we
release the sequence slot after processing the LAYOUTGET operation that
was sent as part of the OPEN compound.

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