Whamcloud - gitweb
LU-6602 update: split update llog record 62/15162/6
authorwang di <di.wang@intel.com>
Thu, 21 May 2015 09:56:39 +0000 (02:56 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 4 Jul 2015 01:32:06 +0000 (01:32 +0000)
commitfb80ae7c7601a03c1181de381f067f553e7b8c6f
tree0d84f679faf1552cc03987b56ae522058f382f37
parentb45e500e5a996d8529ab3d85d542908c93b1e1ce
LU-6602 update: split update llog record

If the update llog record size exceeds the limit (llog
chunk size), which usually happens when creating striped
directory with large stripe count , then it will be split
into mulitple records, and these update records will have
the same batchid.

During recovery, these records will be combined and
constructed into the updates of one operation, then
do update replay.

Allow multiples stripes in a single MDT, so it can verify
creating large stripes in small scale test environment.

Add sanity 300j/300k and replay-single 116 to verify it.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I86ca2594fe62d5b921e794de4cd88981d91f7677
Reviewed-on: http://review.whamcloud.com/15162
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
22 files changed:
lustre/include/lu_target.h
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_dlm.h
lustre/include/lustre_update.h
lustre/include/obd_support.h
lustre/llite/dir.c
lustre/lod/lod_dev.c
lustre/lod/lod_object.c
lustre/lod/lod_sub_object.c
lustre/mdt/mdt_reint.c
lustre/obdclass/llog_osd.c
lustre/osp/osp_trans.c
lustre/ptlrpc/wiretest.c
lustre/target/out_lib.c
lustre/target/update_records.c
lustre/target/update_recovery.c
lustre/target/update_trans.c
lustre/tests/replay-single.sh
lustre/tests/sanity.sh
lustre/utils/liblustreapi.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c