diff options
author | Peng Tao <tao.peng@primarydata.com> | 2014-09-06 00:53:23 +0800 |
---|---|---|
committer | Tom Haynes <loghyr@primarydata.com> | 2015-02-03 11:06:41 -0800 |
commit | 016256df3a7e9eeb3f4dea5ccd0e21a0b63841eb (patch) | |
tree | 98a9c9596f3febafdbaeff99e6912f8b295dd897 /fs/super.c | |
parent | f40eb5d044e2eea3f866eeeeb45ca30753773cda (diff) | |
download | linux-016256df3a7e9eeb3f4dea5ccd0e21a0b63841eb.tar.gz linux-016256df3a7e9eeb3f4dea5ccd0e21a0b63841eb.tar.bz2 linux-016256df3a7e9eeb3f4dea5ccd0e21a0b63841eb.zip |
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>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions