Re: Xattr issues with overlayfs

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

 



On Mon, Nov 24, 2014 at 11:16 AM, hujianyang <hujianyang@xxxxxxxxxx> wrote:

> I'd like to introduce some of my work.
>
> 1) Use macros to indicate overlayfs_private_xattr.

Okay.

> 2) Enable overlayfs_private_xattr setting an removing in userspace.
>    * I'm not clear with this one

No, I don't think this makes any sense.  Maintenance can be done by
unmounting the overlay and doing modification directly on the upper
layer.  After this is done (adding/removing opaque flag, adding
removing whiteouts, etc) the overlay can be mounted again and the
modifications will be applied.

I don't think online modification of the internal attributes of the
overlay makes much sense.

Except maybe, maybe a privileged undelete, but even that one is
tricky: the whiteout was either from deletion of the lower layer or
the upper layer file, the later not being undeleteable.  But the two
cases are currently indistinguishable, so the undelete would always
recover the lower layer file, which is probably not what the user
wants and might cause more harm than good.

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