Whamcloud - gitweb
LU-6722 jbd: double minimum journal size for RHEL7
authorFan Yong <fan.yong@intel.com>
Fri, 26 Jun 2015 15:29:59 +0000 (23:29 +0800)
committerLi Dongyang <dongyangli@ddn.com>
Tue, 28 May 2024 05:53:20 +0000 (15:53 +1000)
commite14cbaa77483ee857af840750c4b2553b38caaf4
tree59a225e7cd5f1cf3882e12087d20fdb06048d1c1
parent8fbc4b9eb8ef67ed5da73c2078c8a66cbe5ec287
LU-6722 jbd: double minimum journal size for RHEL7

In RHEL7 (kernel version >= 3.10.0), the maximum journal transaction
size is reduced to half of the RHEL6 case. That may cause Lustre to
complain that the declared transaction credits too large for very
small journal device. This patch increases the minimum journal size
from 4MB to 8MB for RHEL7 case, then counteract the above limitation
about the journal transaction size.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Iec8a2c561416cb7b5acce342c8ebcb845c8d7a19
Reviewed-on: http://review.whamcloud.com/15401
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
13 files changed:
lib/ext2fs/ext2fsP.h
lib/ext2fs/mkjournal.c
misc/mke2fs.c
misc/util.c
tests/m_rootdir/expect
tests/m_rootdir_acl/expect
tests/m_rootgnutar/expect
tests/m_rootpaxtar/expect
tests/m_roottar/expect
tests/r_fixup_lastbg/expect
tests/r_fixup_lastbg_big/expect
tests/run_e2fsck
tests/test_config