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)
commite9d2e7d7ef86e322d1fbc9b01e549e133d8cecc5
treedd7695d52ed8ab193630ef583c01a089bf247dee
parent91a2331f5db11c394b63791fee741e624e413bd1
LU-8216 ldiskfs: fix journal quota files for RHEL6.8

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