Re: trusted.glusterfs.version xattr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Fick wrote:
Starting with

 /a/b/c/A    /a/b/c/B    /a/b/c/C
 /:2         /:2         /:2
a:2/2 a:2/2 a:2/2 b:2/2/2 b:2/2/2 b:2/2/2
 c:2/2/2/4   c:2/2/2/5   c:2/2/2/6
 A:2/2/2/4/1 B:2/2/2/4/1 C:2/2/2/6/1

Should B be 2/2/2/5/1 here? So you are adopting a version number based on the parent's minor version at time the file was created? I had misunderstood that you were recalculating the version number based on the _current_ directory minor version (recalculating it on each file version access) rather than actually storing it as a file attribute at the time of file creation.

I think this would work as well as the scheme I was proposing, assuming you are also updating all child version numbers on the move of a parent.

Regards,

Derek
--
Derek R. Price
Solutions Architect
Ximbiot, LLC <http://ximbiot.com>
Get CVS and Subversion Support from Ximbiot!

v: +1 248.835.1260
f: +1 248.246.1176




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux