]> 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)
commit3970238a3d00229a99f76ffd6324ea30a0f376ba
tree309e11b87198db5e8f0698be50749967dcfbca83
parent5fe24e790b6566451fe0f90b84d37950b62a9081
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