Whamcloud - gitweb
LU-3719 ldiskfs: adjust s_mb_prealloc_table_size correctly 28/28228/3
authorBobi Jam <bobijam.xu@intel.com>
Tue, 20 Jun 2017 09:44:01 +0000 (17:44 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 26 Oct 2017 16:07:59 +0000 (16:07 +0000)
commitec1dfdfae8b860af54ca0fdc4d035870e6338017
tree8f7573c03a9c3746c2d56208b8e3b929eef95b5b
parent27041128dbdced3975185fefcbddb304a1bb21cd
LU-3719 ldiskfs: adjust s_mb_prealloc_table_size correctly

When mb prealloc table item value is not valid, the
s_mb_prealloc_table_size should be adjust accordingly.
Port patch to rhel7 & sles12.

Lustre-change: https://review.whamcloud.com/27748
Lustre-commit: b9ecf2671cba08530cc49d47713a360f2c6c25ca

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alexander Boyko <alexander_boyko@xyratex.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: I5aa3a32a6a3aedc70160409c6443746fd2ccbbc9
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/28228
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
ldiskfs/kernel_patches/patches/rhel7/ext4-prealloc.patch
ldiskfs/kernel_patches/patches/sles12/ext4-prealloc.patch
ldiskfs/kernel_patches/patches/sles12sp2/ext4-prealloc.patch