Re: overlayfs: allowing for changes to lowerdir

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

 



Josh England:
> So, let me pose this somewhat naive question:  Would it be possible to
> simply disable any cacheing performed by the overlay to force all
> reads to go to either the tmpfs upper or the (VFS-cached) NFS lower?
> Would this be enough to accomplish my goal of being able to change the
> lowerdir of an active overlayfs?

For your information, aufs allows by-passing aufs, ie. the modification
on the layers or UDBA (user's direct branch access). Internally aufs
sets the inotify to the cached dir inodes and recieves the notification
when the files on the branches (layers) are modified. Recieving the
notification, aufs marks the cached inode obsolete. Next time when the
access happens, aufs_d_revalidate() checks the mark and forces VFS to to
re-lookup.
You can enable/disable this feature anytime by
"mount -o remount,udba=brabra ..."


J. R. Okajima



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux