Whamcloud - gitweb
LU-3536 lod: record update for cross-MDT operation 39/10939/58
authorWang Di <di.wang@intel.com>
Mon, 11 Aug 2014 14:37:56 +0000 (07:37 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 1 Jun 2015 20:27:01 +0000 (20:27 +0000)
commitca5d15f3d58305cf6c5d05d8ec615eaf99e7b1d7
tree710e1f11be0c11cbfca83ad691a57d55ea3ac324
parent60c05ea9f66f9bd3f5fd35942a12edb1e311c455
LU-3536 lod: record update for cross-MDT operation

Packing updates for cross-MDT operation in the buffer, and
the maximum update record size is about 1M, which is enough
to create 2k stripes for now. To save the save, these update
records will use different packing format with OSP RPC,
see lustre/target/update_records.c

These updates will be stored in all of MDTs(in the later patch).
During the recovery, master MDT will redo the operation according
to these updates records.

Change-Id: Ic1919ab1c3d2eeca9ef027e2309c42201e3f7a74
Signed-off-by: Wang Di <di.wang@intel.com>
Reviewed-on: http://review.whamcloud.com/10939
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
17 files changed:
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_update.h
lustre/lod/lod_internal.h
lustre/lod/lod_object.c
lustre/lod/lod_sub_object.c
lustre/osp/osp_internal.h
lustre/osp/osp_md_object.c
lustre/osp/osp_object.c
lustre/osp/osp_trans.c
lustre/ptlrpc/Makefile.in
lustre/target/Makefile.am
lustre/target/out_handler.c
lustre/target/out_lib.c
lustre/target/tgt_internal.h
lustre/target/tgt_main.c
lustre/target/update_records.c [new file with mode: 0644]
lustre/target/update_trans.c