Re: Union mounts comparison with overlay file system prototype?

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

 



On 03/25/2011 07:38 AM, Szeredi Miklos wrote:
On Thu, Mar 24, 2011 at 2:43 PM, Ric Wheeler<rwheeler@xxxxxxxxxx>  wrote:
Can one or both of you summarize what we union mounts and overlay do better
or worse? Do we need both or just one?
The semantics are very similar, the differences are in the implementation.

Union mounts:

  - whiteout/opaque/fallthrough support in filesystems
  - whiteout operation is atomic
  - no dentry and inode duplication
  - copy up on lookup and readdir
  - does not support union of two read-only trees
  - merged directory stored in upper tree

Overlayfs

- whiteout/opaque as xattrs
- whiteout operation is not atomic
- dentry and inode duplication(*)
- only copy up on modification
- supports union of two read-only trees
- merged directory not cached(**)

(*) it's possible to eliminate inode duplication of non-directories
with some VFS modifications
(**) caching should be possible to do

Thanks for the high level overview!

Ric

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


[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