Trond Myklebust 66b53f3258 pNFS: Handle NFS4ERR_RECALLCONFLICT correctly in LAYOUTGET
Instead of giving up altogether and falling back to doing I/O
through the MDS, which may make the situation worse, wait for
2 lease periods for the callback to resolve itself, and then
try destroying the existing layout.

Only if this was an attempt at getting a first layout, do we
give up altogether, as the server is clearly crazy.

Fixes: 183d9e7b112aa ("pnfs: rework LAYOUTGET retry handling")
Cc: stable@vger.kernel.org # 4.7
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2016-07-19 16:23:22 -04:00
..
2016-06-24 12:01:00 -04:00
2016-06-24 12:01:00 -04:00
2015-04-23 15:16:14 -04:00
2015-02-03 11:06:34 -08:00
2016-03-31 00:30:15 -04:00
2016-05-17 15:47:55 -04:00
2015-04-23 15:16:14 -04:00
2015-04-23 15:16:14 -04:00
2016-05-17 15:48:06 -04:00
2016-05-17 15:47:55 -04:00
2016-05-26 10:33:33 -07:00
2016-05-17 15:47:55 -04:00
2016-05-09 11:39:45 -04:00
2016-05-17 15:47:55 -04:00
2016-06-24 12:01:00 -04:00
2016-05-09 11:39:45 -04:00