summaryrefslogtreecommitdiff
path: root/fs/nfs/callback_xdr.c
diff options
context:
space:
mode:
authorPeng Tao <bergwolf@gmail.com>2011-10-24 07:21:17 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-10-31 19:51:28 +0400
commit92407e75ce45b41c46944891711fd8faf0714d84 (patch)
tree6616482a99f4b328f2a2acc853af20f273faf08f /fs/nfs/callback_xdr.c
parente20de377578e9504f8467c05ab1db98b4935d4ed (diff)
downloadlinux-92407e75ce45b41c46944891711fd8faf0714d84.tar.xz
nfs4: serialize layoutcommit
Current pnfs_layoutcommit_inode can not handle parallel layoutcommit. And as Trond suggested , there is no need for client to optimize for parallel layoutcommit. So add NFS_INO_LAYOUTCOMMITTING flag to mark inflight layoutcommit and serialize lalyoutcommit with it. Also mark_inode_dirty_sync if pnfs_layoutcommit_inode fails to issue layoutcommit. Reported-by: Vitaliy Gusev <gusev.vitaliy@nexenta.com> Signed-off-by: Peng Tao <peng_tao@emc.com> Signed-off-by: Jim Rees <rees@umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback_xdr.c')
0 files changed, 0 insertions, 0 deletions