<div dir="ltr"><div>Hi Prasanth,<br><br>Its worth to have in our GlusterFS source doc . Can you send a patch on this ?<br><br></div>--Humble<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 21, 2014 at 10:34 AM, Prashanth Pai <span dir="ltr">&lt;<a href="mailto:ppai@redhat.com" target="_blank">ppai@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I recently came across this when I was looking for various ways to convert GFID to Path[1].<br>
I have tested &quot;build-pgfid&quot; option for basic sanity. It&#39;s documented in the commit msg of change[2]. Found one small issue[3]. There could be others.<br>
Users should be aware that these xattrs generated only for newly created dirs/files and are not built for already existing dirs/files.<br>
<br>
[1]: <a href="https://github.com/prashanthpai/sof-object-listing/blob/master/changelog/gfid-to-path.md" target="_blank">https://github.com/prashanthpai/sof-object-listing/blob/master/changelog/gfid-to-path.md</a><br>
[2]: <a href="http://review.gluster.org/5951" target="_blank">http://review.gluster.org/5951</a><br>
[3]: <a href="http://review.gluster.org/8352" target="_blank">http://review.gluster.org/8352</a><br>
<br>
Regards,<br>
 -Prashanth Pai<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
From: &quot;Harshavardhana&quot; &lt;<a href="mailto:harsha@harshavardhana.net">harsha@harshavardhana.net</a>&gt;<br>
To: &quot;Ben England&quot; &lt;<a href="mailto:bengland@redhat.com">bengland@redhat.com</a>&gt;<br>
Cc: &quot;gluster-devel&quot; &lt;<a href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;<br>
Sent: Thursday, August 21, 2014 2:57:25 AM<br>
Subject: Re: [Gluster-devel] update-link-count-parent POSIX xlator parameter<br>
<br>
On Wed, Aug 20, 2014 at 1:55 PM, Ben England &lt;<a href="mailto:bengland@redhat.com">bengland@redhat.com</a>&gt; wrote:<br>
&gt; 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&#39;t see this documented, but the log message in posix.c says:  &quot;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.&quot;  Why would this be necessary?<br>

&gt;<br>
<br>
It was supposed to be used by Quota or it uses it internally i am not<br>
sure for ancestry paths and gfid to path conversion - AFAIK<br>
<br>
# gluster volume set &lt;volname&gt; build-pgfid on<br>
<br>
Enables this feature. Never tested it personally.<br>
<br>
--<br>
Religious confuse piety with mere ritual, the virtuous confuse<br>
regulation with outcomes<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-devel</a><br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-devel</a><br>
</div></div></blockquote></div><br></div>