Files
linux/fs/nfs
Boaz Harrosh 305a7c624d pnfs: Proper delay for NFS4ERR_RECALLCONFLICT in layout_get_done
commit ed7e542301 upstream.

An NFS4ERR_RECALLCONFLICT is returned by server from a GET_LAYOUT
only when a Server Sent a RECALL do to that GET_LAYOUT, or
the RECALL and GET_LAYOUT crossed on the wire.
In any way this means we want to wait at most until in-flight IO
is finished and the RECALL can be satisfied.

So a proper wait here is more like 1/10 of a second, not 15 seconds
like we have now. In case of a server bug we delay exponentially
longer on each retry.

Current code totally craps out performance of very large files on
most pnfs-objects layouts, because of how the map changes when the
file has grown into the next raid group.

[Stable: This will patch back to 3.9. If there are earlier still
 maintained trees, please tell me I'll send a patch]

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-13 13:48:01 -08:00
..
2013-04-12 15:21:36 +02:00
2012-12-06 00:30:44 +01:00
2013-03-25 12:04:11 -04:00
2012-12-20 22:19:42 +00:00
2012-10-02 08:17:02 -07:00
2012-07-30 19:06:41 -04:00
2013-02-22 23:31:31 -05:00
2012-07-30 19:06:46 -04:00
2013-02-22 23:31:31 -05:00
2012-07-30 19:06:52 -04:00
2013-02-22 23:31:31 -05:00