[Bugs] [Bug 1153900] Enabling Quota on existing data won't create pgfid xattrs
bugzilla at redhat.com
bugzilla at redhat.com
Mon Oct 20 16:13:38 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1153900
--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8938 committed in release-3.5 by Niels de Vos
(ndevos at redhat.com)
------
commit b0ed286e9b53c5ad24f04686cd6ddfad940b87f3
Author: vmallika <vmallika at redhat.com>
Date: Mon Sep 29 13:02:30 2014 +0530
glusterd/quota: Heal pgfid xattr on existing data when the quota is
enable
Backport of: http://review.gluster.org/8878
The pgfid extended attributes are used to construct the ancestry path
(from the file to the volume root) for nameless lookups on files.
As NFS relies on nameless lookups heavily, quota enforcement through NFS
would be inconsistent if quota were to be enabled on a volume with
existing data.
Solution is to heal the pgfid extended attributes as a part of lookup
perfomed by quota-crawl process. In a posix lookup check for pgfid xattr
and if it is missing set the xattr.
Change-Id: I956128907aa1d975cd5719ed3ab2f4f9b37d4c31
BUG: 1153900
Signed-off-by: vmallika <vmallika at redhat.com>
Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
Reviewed-on: http://review.gluster.org/8938
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Niels de Vos <ndevos at redhat.com>
--
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=v96in1ZIkq&a=cc_unsubscribe
More information about the Bugs
mailing list