projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c7c7a
)
NFSv4.1 don't send LAYOUTCOMMIT if data resent through MDS
author
Andy Adamson
<andros@netapp.com>
Wed, 20 Jun 2012 19:03:32 +0000
(15:03 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 16 Jul 2012 18:37:00 +0000
(14:37 -0400)
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4filelayout.c
b/fs/nfs/nfs4filelayout.c
index 26b96de831ea71adcd5dcd99fb7ab63468a9ebdb..53f94d915bd18ce77c4cf542ebc25378c56f2add 100644
(file)
--- a/
fs/nfs/nfs4filelayout.c
+++ b/
fs/nfs/nfs4filelayout.c
@@
-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);