Whamcloud - gitweb
LU-1187 osp: add osp_md_object for remote directory.
authorwangdi <di.wang@whamcloud.com>
Sat, 16 Nov 2013 18:52:14 +0000 (10:52 -0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Jan 2013 21:23:13 +0000 (16:23 -0500)
commit303ea892488b985ba84e6c8e1481f6c7c914c7ed
tree24775fcf2b15c1314cff0fd94710d7f149d46c5f
parentb1e22bd4df5bcea4f32dbf510ba784817c529ce8
LU-1187 osp: add osp_md_object for remote directory.

In declare phase, the update for remote object will be added
in the remote list of the transaction, which will then being
sent to the remote MDT during trans_start.

Add osp_md_object for remote directory, any updates for
remote operation will be packed into RPC by api in
the osp_md_object

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I5fac24e21e6663dca0e2d2fa5d90d4a07a002136
Reviewed-on: http://review.whamcloud.com/4927
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
26 files changed:
lustre/include/Makefile.am
lustre/include/dt_object.h
lustre/include/lprocfs_status.h
lustre/include/lu_object.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_req_layout.h
lustre/include/lustre_update.h [new file with mode: 0644]
lustre/include/obd_class.h
lustre/include/obd_support.h
lustre/lod/lod_dev.c
lustre/lod/lod_internal.h
lustre/mdd/mdd_dir.c
lustre/mdt/mdt_lib.c
lustre/obdclass/obdo.c
lustre/osp/Makefile.in
lustre/osp/osp_dev.c
lustre/osp/osp_internal.h
lustre/osp/osp_md_object.c [new file with mode: 0644]
lustre/osp/osp_object.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/utils/req-layout.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c