Whamcloud - gitweb
LU-3539 protocol: Change UPDATE_OBJ RPC format 28/7128/30
authorLi Wei <wei.g.li@intel.com>
Mon, 22 Jul 2013 14:35:45 +0000 (22:35 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 27 Feb 2014 21:07:14 +0000 (21:07 +0000)
commit8abb5a19e4375f194f3f7d304ad46ec7120e733f
tree4cd0bebdbcbd48467d33f211b600109504bfcd8c
parentcaef708d4040fd13499a11a42507ba56f9454298
LU-3539 protocol: Change UPDATE_OBJ RPC format

This patch updates struct update for DNE phase II.  See the DNE phase
II HLD for more information.

The comment describing the UPDATE_OBJ RPC format is already a bit out
of date.  This patch simplies and updates it so that the overall
structure is easier to see while the details are commented in-line.

The related type names are modified to be more consistent with the
terminology used in the HLD and the comment.

Change OBJ_XXX-->OUT_XXX, and refine a few update structures to
object_update_xxx. And there are no logic changes in this patch.

Change-Id: I4355b4c863abb448713115f17b80402ec96009f8
Signed-off-by: Di Wang <di.wang@intel.com>
Signed-off-by: Li Wei <wei.g.li@intel.com>
Reviewed-on: http://review.whamcloud.com/7128
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
25 files changed:
lustre/include/lprocfs_status.h
lustre/include/lu_target.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_req_layout.h
lustre/include/lustre_update.h
lustre/include/obd_support.h
lustre/lod/lod_dev.c
lustre/mdt/mdt_handler.c
lustre/ofd/ofd_dev.c
lustre/osp/osp_internal.h
lustre/osp/osp_md_object.c
lustre/osp/osp_object.c
lustre/osp/osp_sync.c
lustre/osp/osp_trans.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/lproc_ptlrpc.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/target/out_handler.c
lustre/target/out_lib.c
lustre/target/tgt_handler.c
lustre/target/tgt_internal.h
lustre/utils/req-layout.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c