Hi All,
This is regarding quota accounting for hard-links. Currently, accounting
is done only once for the links created within the same directory and
accounting is done separately when links are created in separate directory.
With this approach account may go wrong when rename is performed on the
hardlink files across directories.
We are implementing one of the below mentioned policy for hard-links
when quota is enabled.
1) Allow creating hard-links only within same directory.
(We can hit the same problem if quota is enabled on the
pre-existing data which contains hard-links)
2) Allow creating hard-links only within the same branch where the limit
is set
(We can hit the same problem if quota is enabled on the
pre-existing data which contains hard-links and also when quota-limit is
set/unset)
3) Account for all the hard-links.
(Marker treats all hard-links as a new file)
Please provide your feedback.
Thanks,
Vijay
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel