mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue