[Bugs] [Bug 1232572] quota: quota list displays double the size of previous value, post heal completion.
bugzilla at redhat.com
bugzilla at redhat.com
Fri Jun 19 01:59:11 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1232572
--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11264 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit 81972918a0b0252cfa7feefbb80182fa886a72f8
Author: vmallika <vmallika at redhat.com>
Date: Wed Jun 17 10:33:13 2015 +0530
quota: fix double accounting with rename operation
When a rename operation is performed, we are renaming
the file first and performing remove-xattr when reducing
the contri size from parents.
This remove-xattr fails as the file is alreday renamed,
this failure causes reduce-parent-size to abort resulting
in double quota accounting
This patch fixes the problem. We don't need to perform remove-xattr
operation on a file when performing reduce-parent-size txn as this
will be alreday done before starting reduce-parent-size txn
Change-Id: If86e3dbb0233f6deaaa90bee72cb0ec1689c7325
BUG: 1232572
Signed-off-by: vmallika <vmallika at redhat.com>
Reviewed-on: http://review.gluster.org/11264
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=EOMjvMSooQ&a=cc_unsubscribe
More information about the Bugs
mailing list