[Gluster-devel] update-link-count-parent POSIX xlator parameter

Harshavardhana harsha at harshavardhana.net
Wed Aug 20 21:27:25 UTC 2014


On Wed, Aug 20, 2014 at 1:55 PM, Ben England <bengland at redhat.com> 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


More information about the Gluster-devel mailing list