Re: trusted.glusterfs.version xattr

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

 



--- Derek Price <derek@xxxxxxxxxxx> wrote:

> 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?  

Yes, that should be a 5

> So you are adopting a version number based 
> on the parent's minor version at time the file was
> created?  

Yes, although I would no longer call it minor/major,
more like a version # that uses all the parents
version# as the prefix

> 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.

No, I am only calculating it once at creation time!

> 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.

Why would that be needed?

-Martin


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ




[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