pnfs: retry after a bad stateid error from layoutget
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Aug 2014 16:09:21 +0000 (11:09 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:01 +0000 (12:47 -0700)
commitdefb8460881cbf0a5890bc7a63b42c0cfbed721d
tree4cb3d9ddae0a6b0c53e97e1380543dc9926e6106
parent362f74745c15fb9acad577ab8e1342ee5313a2a5
pnfs: retry after a bad stateid error from layoutget

Currently we fall through to nfs4_async_handle_error when we get
a bad stateid error back from layoutget.  nfs4_async_handle_error
with a NULL state argument will never retry the operations but return
the error to higher layer, causing an avoiable fallback to MDS I/O.

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