Commit baf6c2a4 authored by Andy Adamson's avatar Andy Adamson Committed by Trond Myklebust
Browse files

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

parent 82c7c7a5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -206,6 +206,7 @@ static int filelayout_async_handle_error(struct rpc_task *task,
		dprintk("%s DS connection error %d\n", __func__,
			task->tk_status);
		filelayout_mark_devid_invalid(devid);
		clear_bit(NFS_INO_LAYOUTCOMMIT, &NFS_I(inode)->flags);
		_pnfs_return_layout(inode);
		rpc_wake_up(&tbl->slot_tbl_waitq);
		nfs4_ds_disconnect(clp);