Hi Prasanth,
Its worth to have in our GlusterFS source doc . Can you send a patch on this ?
--HumbleIts worth to have in our GlusterFS source doc . Can you send a patch on this ?
On Thu, Aug 21, 2014 at 10:34 AM, Prashanth Pai <ppai@xxxxxxxxxx> wrote:
Hi,
I recently came across this when I was looking for various ways to convert GFID to Path[1].
I have tested "build-pgfid" option for basic sanity. It's documented in the commit msg of change[2]. Found one small issue[3]. There could be others.
Users should be aware that these xattrs generated only for newly created dirs/files and are not built for already existing dirs/files.
[1]: https://github.com/prashanthpai/sof-object-listing/blob/master/changelog/gfid-to-path.md
[2]: http://review.gluster.org/5951
[3]: http://review.gluster.org/8352
Regards,
-Prashanth Pai
----- Original Message -----
From: "Harshavardhana" <harsha@xxxxxxxxxxxxxxxxxx>
To: "Ben England" <bengland@xxxxxxxxxx>
Cc: "gluster-devel" <gluster-devel@xxxxxxxxxxx>
Sent: Thursday, August 21, 2014 2:57:25 AM
Subject: Re: update-link-count-parent POSIX xlator parameter
On Wed, Aug 20, 2014 at 1:55 PM, Ben England <bengland@xxxxxxxxxx> wrote:
> What is update-link-count-parent POSIX xlator parameter for? Is it ever set by anyone and why? It appears to be off by default. Didn't see this documented, but the log message in posix.c says: "update-link-count-parent is enabled. Thus for each file an extended attribute representing the number of hardlinks for that file within the same parent directory is set." Why would this be necessary?
>
It was supposed to be used by Quota or it uses it internally i am not
sure for ancestry paths and gfid to path conversion - AFAIK
# gluster volume set <volname> build-pgfid on
Enables this feature. Never tested it personally.
--
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel
_______________________________________________ Gluster-devel mailing list Gluster-devel@xxxxxxxxxxx http://supercolony.gluster.org/mailman/listinfo/gluster-devel