Whamcloud - gitweb
LU-6602 obdclass: variable llog chunk size 83/14883/6
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 20 May 2015 09:27:24 +0000 (02:27 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 11 Jun 2015 16:11:50 +0000 (16:11 +0000)
commitdc689955366c895f9cdcc86d78f4221866fe0926
tree590f54072cfc184db2e1c13547d256228eadc248
parent2fe22edfe3c365b5c270050fdeed0a86fa74a919
LU-6602 obdclass: variable llog chunk size

Do not use fix LLOG_CHUNK_SIZE (8192 bytes), and
it will get the llog_chunk_size from llog_log_hdr.
Accordingly llog header will be variable too, so
we can enlarge the bitmap in the header, then
have more records in each llog file.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I1d18c4a502c5ab51d574bb026c94752ddb7dff8a
Reviewed-on: http://review.whamcloud.com/14883
Tested-by: Jenkins
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
15 files changed:
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_log.h
lustre/obdclass/llog.c
lustre/obdclass/llog_cat.c
lustre/obdclass/llog_internal.h
lustre/obdclass/llog_obd.c
lustre/obdclass/llog_osd.c
lustre/obdclass/llog_swab.c
lustre/obdclass/llog_test.c
lustre/osd-zfs/osd_io.c
lustre/ptlrpc/llog_client.c
lustre/ptlrpc/llog_server.c
lustre/target/update_records.c
lustre/utils/llog_reader.c
lustre/utils/wirecheck.c