Here is another post of the VFS based union mount implementation. Unlike the traditional mount which hides the contents of the mount point, union mounts present the merged view of the mount point and the mounted filesytem. Recent changes: - brand new union structure no longer tied to the dentryn, now works with bind mounts - generic part of the whiteout patches extracted - introduces MS_WHITEOUT to make the white-out patches independant of the union-mount stuff - uses a singleton whiteout inode for the tmpfs filesystem (I need to fix this for ext2/3, too) - renaming files on unions uses copyup now - rewrote the union mount debugging code: it is now debugfs/relay based. - random cleanups I'm able to compile the kernel with this patches applied on a 3 layer union mount with the seperate layers bind mounted to different locations. I haven't done any performance tests since I think there is a more important topic ahead: better readdir() support. This series is against 2.6.22-rc6-mm1. Comments are welcome, Jan -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [RFC 00/26] VFS based Union Mount (V2)
- From: Bharata B Rao <bharata@linux.vnet.ibm.com>
- Re: [RFC 00/26] VFS based Union Mount (V2)
- From: Al Boldi <a1426z@gawab.com>
- [RFC 08/26] VFS: Export lives_below_in_same_fs()
- From: Jan Blunck <jblunck@suse.de>
- [RFC 26/26] union-mount: Debug code
- From: Jan Blunck <jblunck@suse.de>
- [RFC 22/26] union-mount: white-out changes for copy-on-open
- From: Jan Blunck <jblunck@suse.de>
- [RFC 12/26] ext2 white-out support
- From: Jan Blunck <jblunck@suse.de>
- [RFC 07/26] VFS: Introduce dput() variante that maintains a kill-list
- From: Jan Blunck <jblunck@suse.de>
- [RFC 13/26] ext3 whiteout support
- From: Jan Blunck <jblunck@suse.de>
- [RFC 03/26] VFS: Make lookup_hash() return a struct path
- From: Jan Blunck <jblunck@suse.de>
- [RFC 23/26] union-mount: copyup on rename
- From: Jan Blunck <jblunck@suse.de>
- [RFC 11/26] tmpfs white-out support
- From: Jan Blunck <jblunck@suse.de>
- [RFC 04/26] VFS: Make lookup_create() return a struct path
- From: Jan Blunck <jblunck@suse.de>
- [RFC 06/26] VFS: Make real_lookup() return a struct path
- From: Jan Blunck <jblunck@suse.de>
- [RFC 24/26] union-mount: dont report EROFS for union mounts
- From: Jan Blunck <jblunck@suse.de>
- [RFC 14/26] union-mount: Documentation
- From: Jan Blunck <jblunck@suse.de>
- [RFC 25/26] union-mount: Debug Infrastructure
- From: Jan Blunck <jblunck@suse.de>
- [RFC 21/26] union-mount: in-kernel file copy between union mounted filesystems
- From: Jan Blunck <jblunck@suse.de>
- [RFC 19/26] union-mount: Make lookup work for union-mounted file systems
- From: Jan Blunck <jblunck@suse.de>
- [RFC 15/26] union-mount: Add union-mount mount flag
- From: Jan Blunck <jblunck@suse.de>
- [RFC 18/26] union-mount: Changes to the namespace handling
- From: Jan Blunck <jblunck@suse.de>
- [RFC 16/26] union-mount: Introduce union_mount structure
- From: Jan Blunck <jblunck@suse.de>
- [RFC 20/26] union-mount: Simple union-mount readdir implementation
- From: Jan Blunck <jblunck@suse.de>
- [RFC 09/26] linux/stat.h: Add the filetype white-out
- From: Jan Blunck <jblunck@suse.de>
- [RFC 17/26] union-mount: Drive the union cache via dcache
- From: Jan Blunck <jblunck@suse.de>
- [RFC 10/26] VFS white-out handling
- From: Jan Blunck <jblunck@suse.de>
- [RFC 01/26] [PATCH 14/18] shmem: convert to using splice instead of sendfile()
- From: Jan Blunck <jblunck@suse.de>
- [RFC 05/26] VFS: cache_lookup() cleanup
- From: Jan Blunck <jblunck@suse.de>
- [RFC 02/26] VFS: Export dput_path() and path_to_nameidata()
- From: Jan Blunck <jblunck@suse.de>
- Re: [RFC 00/26] VFS based Union Mount (V2)
- Prev by Date: [RFC 26/26] union-mount: Debug code
- Next by Date: [RFC 08/26] VFS: Export lives_below_in_same_fs()
- Previous by thread: Repeated XFS corruption -Corruption of in-memory data detected
- Next by thread: [RFC 02/26] VFS: Export dput_path() and path_to_nameidata()
- Index(es):
![]() |