Re: [PATCH 0/6] ovl: consistent_fd feature

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

 



On Fri, Apr 7, 2017 at 11:32 AM, Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
> On Thu, Apr 6, 2017 at 6:25 PM, Amir Goldstein <amir73il@xxxxxxxxx> wrote:

> When renaming a lower/merged directory or lower non-directory, always
> add back-redirect pointer to moved object pointing to original
> location, as well as forward-redirect to whiteout at original location
> pointing to new location.   Possibly could do both with file handle.
> Whenever either is moved/created/removed pointers need to be updated.
> Hard linking a copied up file would result in duplication of the
> forward pointers.  Solves the nfs export case, since we can always
> find new location of objects based on location on lower layer.

This breaks when an ancestor of a forward-redirect is moved/removed.

A linked list would still work, but all these are bit fragile.  I feel
it's better to keep this sort of info out-of-band.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux