提交 baf6c2a4 编写于 作者: A Andy Adamson 提交者: Trond Myklebust

NFSv4.1 don't send LAYOUTCOMMIT if data resent through MDS

Signed-off-by: NAndy Adamson <andros@netapp.com>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 82c7c7a5
...@@ -206,6 +206,7 @@ static int filelayout_async_handle_error(struct rpc_task *task, ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册