NFSv4.1 don't send LAYOUTCOMMIT if data resent through MDS
Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
82c7c7a5a9
commit
baf6c2a44a
|
@ -206,6 +206,7 @@ static int filelayout_async_handle_error(struct rpc_task *task,
|
||||||
dprintk("%s DS connection error %d\n", __func__,
|
dprintk("%s DS connection error %d\n", __func__,
|
||||||
task->tk_status);
|
task->tk_status);
|
||||||
filelayout_mark_devid_invalid(devid);
|
filelayout_mark_devid_invalid(devid);
|
||||||
|
clear_bit(NFS_INO_LAYOUTCOMMIT, &NFS_I(inode)->flags);
|
||||||
_pnfs_return_layout(inode);
|
_pnfs_return_layout(inode);
|
||||||
rpc_wake_up(&tbl->slot_tbl_waitq);
|
rpc_wake_up(&tbl->slot_tbl_waitq);
|
||||||
nfs4_ds_disconnect(clp);
|
nfs4_ds_disconnect(clp);
|
||||||
|
|
Loading…
Reference in a new issue