]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs: don't check sequence on new stateids in layoutget
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Aug 2014 16:09:20 +0000 (11:09 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:01 +0000 (12:47 -0700)
commit5c7f12f2459488a7cb7ad0031d85463d8776573f
tree309e11b87198db5e8f0698be50749967dcfbca83
parent2e4a948dfc87d0e396f5200990b1e2c3ef7b72d1
pnfs: don't check sequence on new stateids in layoutget

When layoutget returns an entirely new layout stateid it should not
check the generation counter as the new stateid will start with a new
counter entirely unrelated to old one.

The current behavior causes constant layoutget failures against a block
server which allocates a new stateid after an recall that removed all
outstanding layouts.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c