diff options
author | vmallika <vmallika@redhat.com> | 2015-08-27 21:11:53 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-08-29 23:01:30 -0700 |
commit | a5f00c1c29f71bd9135bba38bd0602a1e8ce71b7 (patch) | |
tree | ccc316e0b79d25f0010e1523210122383122480e /xlators/features/quota | |
parent | 5b3d64b734f463da3344218c6a76aadddbf9cde4 (diff) |
marker: preserve previous dirty flag during update txn
In case if dir has become dirty because of brick crash,
this dirty flag on disk was getting reset in the
next update txn.
This patch now gets the dirty flag before setting the flag
in the update txn and if this value is dirty, it keeps
the flag dirty, so that inspect_directory can fix the
dirty dir
Change-Id: Iab2c343dbe19bd3b291adbfeebe6d9785b6bb9e3
BUG: 1251454
Signed-off-by: vmallika <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/12032
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/features/quota')
0 files changed, 0 insertions, 0 deletions