Peng Tao 016256df3a nfs41: add a helper to mark layout for return
It marks all matching layout segments as NFS_LSEG_LAYOUTRETURN,
which is an indicator for pnfs_put_lseg() to send layoutreturn,
and also prevents pnfs_update_layout() from using the returning
segments. Once it is set, it never gets cleared.

It also sets proper io failure bit so that pnfs path can be retried
after PNFS_LAYOUTGET_RETRY_TIMEOUT second.

Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
2015-02-03 11:06:41 -08:00
..
2013-06-08 16:20:18 -04:00
2014-12-08 20:39:29 -05:00
2014-11-25 16:38:32 -05:00
2013-11-15 13:41:43 -05:00
2012-07-30 19:06:41 -04:00
2015-02-03 11:06:34 -08:00
2015-02-03 11:06:36 -08:00
2014-11-25 16:38:32 -05:00
2015-02-03 11:06:36 -08:00
2014-11-25 16:38:32 -05:00
2014-11-25 16:38:32 -05:00
2014-11-25 16:38:32 -05:00
2012-07-30 19:06:52 -04:00
2014-06-24 18:47:00 -04:00