Whamcloud - gitweb
LU-8216 ldiskfs: fix journal quota files for RHEL6.8 91/20791/4
authorWang Shilong <wshilong@ddn.com>
Wed, 15 Jun 2016 00:04:04 +0000 (08:04 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 22 Jun 2016 02:54:38 +0000 (02:54 +0000)
When we hit Lustre crash, e2fsck always complains of Quota
accounting mismatch, and sometimes differences are huge.

The problem is that we don't journal quota updates properly, and
with current codes quota files will be only journaled when syncing
the filesystem, which only happens by sync() call or unmount.

RHEL6.8 version of the patch http://review.whamcloud.com/20503

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: Id5b580083197555029442338f7feaf59b1ad154c
Reviewed-on: http://review.whamcloud.com/20791
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
ldiskfs/kernel_patches/series/ldiskfs-2.6-rhel6.8.series

index d309f20..9e31c93 100644 (file)
@@ -45,3 +45,4 @@ rhel6.6/ext4-corrupted-inode-block-bitmaps-handling-patches.patch
 rhel6.3/ext4-notalloc_under_idatasem.patch
 rhel6.5/ext4-give-warning-with-dir-htree-growing.patch
 rhel6.6/ext4_s_max_ext_tree_depth.patch
 rhel6.3/ext4-notalloc_under_idatasem.patch
 rhel6.5/ext4-give-warning-with-dir-htree-growing.patch
 rhel6.6/ext4_s_max_ext_tree_depth.patch
+rhel6.5/ext4-fix-journal-quota.patch