Whamcloud - gitweb
LU-6722 jbd: double minimum journal size for RHEL7 v1.42.13.wc2
authorFan Yong <fan.yong@intel.com>
Fri, 26 Jun 2015 15:29:59 +0000 (23:29 +0800)
committerAndreas Dilger <andreas.dilger@intel.com>
Fri, 28 Aug 2015 01:03:48 +0000 (19:03 -0600)
commitb152ddc9608d57992bc86000d70f9a9c0f30b7a4
tree33519f1c296a7a719ee44822ca98793e2146e33d
parent5b86c8dbc61daa969117ffa36d686a142f5183ae
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
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lib/ext2fs/ext2fsP.h
lib/ext2fs/mkjournal.c
misc/mke2fs.c
misc/util.c
tests/run_e2fsck
tests/test_config