linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/74] Union mounts version something or other
@ 2011-03-23  1:58 Valerie Aurora
  2011-03-23  1:58 ` [PATCH 01/74] VFS: Comment follow_mount() and friends Valerie Aurora
                   ` (46 more replies)
  0 siblings, 47 replies; 56+ messages in thread
From: Valerie Aurora @ 2011-03-23  1:58 UTC (permalink / raw)
  To: linux-fsdevel, linux; +Cc: viro, Valerie Aurora

Hi union mounts fans(?),

Here's my current union mounts patch set, against 2.6.36-rc5.  I'm
busy with other things[1] and unlikely to put in significant work on
union mounts in the next year.  I'm happy to answer questions from
anyone else working on them.

As always, git trees for the kernel, util-linux, and e2fsprogs, lots
of documentation, and LWN articles describing the various problems
unioning file systems will encounter are here:

http://valerieaurora.org/union/

The devkit linked to from that page includes my Usermode Linux testing
environment, including root file system image.  The README tells you
how to run the test suite automatically (yes, an automated test suite
- with Makefile and version control and comments and stuff!).

I took a quick look at the current overlayfs patch set, and it's
small, clean, and easy to understand.  If it does what people need, I
say ship it.

Thanks to everyone who reviewed and submitted patches for union mounts!

-VAL

[1] http://adainitiative.org

---

Felix Fietkau (2):
  whiteout: jffs2 whiteout support
  fallthru: jffs2 fallthru support

Jan Blunck (9):
  VFS: Make lookup_hash() return a struct path
  autofs4: Save autofs trigger's vfsmount in super block info
  whiteout/NFSD: Don't return information about whiteouts to userspace
  whiteout: Add vfs_whiteout() and whiteout inode operation
  whiteout: Allow removal of a directory with whiteouts
  whiteout: tmpfs whiteout support
  union-mount: Introduce MNT_UNION and MS_UNION flags
  union-mount: Free union stack on removal of topmost dentry from
    dcache
  union-mount: Create IS_MNT_UNION()

Valerie Aurora (63):
  VFS: Comment follow_mount() and friends
  Documentation: Fix trivial typo in filesystems/sharedsubtree.txt
  whiteout: Define opaque inode flags and operations
  ext2: Add ext2_dirent_in_use()
  ext2: Split ext2_add_entry() from ext2_add_link()
  whiteout: ext2 whiteout support
  fallthru: Basic fallthru definitions
  fallthru: ext2 fallthru support
  fallthru: tmpfs fallthru support
  VFS: Add hard read-only users count to superblock
  VFS: Make clone_mnt()/copy_tree()/collect_mounts() return errors
  VFS: Add CL_NO_SHARED flag to clone_mnt()/copy_tree()
  VFS: Add CL_NO_SLAVE flag to clone_mnt()/copy_tree()
  VFS: Add CL_MAKE_HARD_READONLY flag to clone_mnt()/copy_tree()
  union-mount: Union mounts documentation
  union-mount: Add CONFIG_UNION_MOUNT option
  union-mount: Create union_stack structure
  union-mount: Add two superblock fields for union mounts
  union-mount: Add union_alloc()
  union-mount: Add union_find_dir()
  union-mount: Create d_free_unions()
  union-mount: Create union_add_dir()
  union-mount: Add union_create_topmost_dir()
  union-mount: Create needs_lookup_union()
  union-mount: Create check_topmost_union_mnt()
  union-mount: Add clone_union_tree() and put_union_sb()
  union-mount: Create build_root_union()
  union-mount: Create prepare_mnt_union() and cleanup_mnt_union()
  union-mount: Prevent improper union-related remounts
  union-mount: Prevent topmost file system from being mounted elsewhere
  union-mount: Prevent bind mounts of union mounts
  union-mount: Implement union mount
  union-mount: Temporarily disable some syscalls
  union-mount: Basic infrastructure of __lookup_union()
  union-mount: Process negative dentries in __lookup_union()
  union-mount: Return files found in lower layers in __lookup_union()
  union-mount: Build union stack in __lookup_union()
  union-mount: Follow mount in __lookup_union()
  union-mount: Add lookup_union()
  union-mount: Add do_lookup_union() wrapper for __lookup_union()
  union-mount: Call union lookup functions in lookup path
  union-mount: Create whiteout on unlink()
  union-mount: Create whiteout on rmdir()
  union-mount: Set opaque flag on new directories in unioned file
    systems
  union-mount: Copy up directory entries on first readdir()
  union-mount: Add generic_readdir_fallthru() helper
  fallthru: ext2 support for lookup of d_type/d_ino in fallthrus
  fallthru: tmpfs support for lookup of d_type/d_ino in fallthrus
  fallthru: jffs2 support for lookup of d_type/d_ino in fallthrus
  VFS: Split inode_permission() and create path_permission()
  VFS: Create user_path_nd() to lookup both parent and target
  union-mount: In-kernel file copyup routines
  union-mount: Implement union-aware access()/faccessat()
  union-mount: Implement union-aware link()
  union-mount: Implement union-aware rename()
  union-mount: Implement union-aware writable open()
  union-mount: Implement union-aware chown()
  union-mount: Implement union-aware truncate()
  union-mount: Implement union-aware chmod()/fchmodat()
  union-mount: Implement union-aware lchown()
  union-mount: Implement union-aware utimensat()
  union-mount: Implement union-aware setxattr()
  union-mount: Implement union-aware lsetxattr()

 Documentation/filesystems/sharedsubtree.txt |    4 +-
 Documentation/filesystems/union-mounts.txt  |  751 +++++++++++++++++++++++++
 Documentation/filesystems/vfs.txt           |   16 +-
 fs/Kconfig                                  |   13 +
 fs/Makefile                                 |    1 +
 fs/autofs4/autofs_i.h                       |    1 +
 fs/autofs4/init.c                           |   11 +-
 fs/autofs4/root.c                           |    6 +
 fs/compat.c                                 |    9 +
 fs/dcache.c                                 |   32 +-
 fs/ext2/dir.c                               |  116 ++++-
 fs/ext2/ext2.h                              |    3 +
 fs/ext2/inode.c                             |   11 +-
 fs/ext2/namei.c                             |   85 +++-
 fs/ext2/super.c                             |    6 +
 fs/jffs2/dir.c                              |  117 ++++-
 fs/jffs2/fs.c                               |    4 +
 fs/jffs2/super.c                            |    2 +-
 fs/libfs.c                                  |   20 +-
 fs/namei.c                                  |  807 ++++++++++++++++++++++++---
 fs/namespace.c                              |  394 +++++++++++--
 fs/nfsd/nfs3xdr.c                           |    5 +
 fs/nfsd/nfs4xdr.c                           |    5 +
 fs/nfsd/nfsxdr.c                            |    4 +
 fs/open.c                                   |  116 ++++-
 fs/pnode.c                                  |    5 +-
 fs/pnode.h                                  |    3 +
 fs/readdir.c                                |   18 +
 fs/super.c                                  |    9 +
 fs/union.c                                  |  714 ++++++++++++++++++++++++
 fs/union.h                                  |  105 ++++
 fs/utimes.c                                 |   14 +-
 fs/xattr.c                                  |   65 ++-
 include/linux/dcache.h                      |   37 ++-
 include/linux/ext2_fs.h                     |    8 +
 include/linux/fs.h                          |   45 ++
 include/linux/jffs2.h                       |    8 +
 include/linux/mount.h                       |    4 +
 include/linux/namei.h                       |    2 +
 kernel/audit_tree.c                         |   10 +-
 mm/shmem.c                                  |  193 ++++++-
 41 files changed, 3551 insertions(+), 228 deletions(-)
 create mode 100644 Documentation/filesystems/union-mounts.txt
 create mode 100644 fs/union.c
 create mode 100644 fs/union.h


^ permalink raw reply	[flat|nested] 56+ messages in thread

end of thread, other threads:[~2011-04-24 21:48 UTC | newest]

Thread overview: 56+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23  1:58 [PATCH 00/74] Union mounts version something or other Valerie Aurora
2011-03-23  1:58 ` [PATCH 01/74] VFS: Comment follow_mount() and friends Valerie Aurora
2011-03-23  1:58 ` [PATCH 02/74] VFS: Make lookup_hash() return a struct path Valerie Aurora
2011-03-23  1:58 ` [PATCH 03/74] autofs4: Save autofs trigger's vfsmount in super block info Valerie Aurora
2011-03-23  1:58 ` [PATCH 04/74] Documentation: Fix trivial typo in filesystems/sharedsubtree.txt Valerie Aurora
2011-03-23  1:58 ` [PATCH 05/74] whiteout/NFSD: Don't return information about whiteouts to userspace Valerie Aurora
2011-03-23  1:58 ` [PATCH 06/74] whiteout: Define opaque inode flags and operations Valerie Aurora
2011-03-23  1:58 ` [PATCH 07/74] whiteout: Add vfs_whiteout() and whiteout inode operation Valerie Aurora
2011-03-23  1:58 ` [PATCH 08/74] whiteout: Allow removal of a directory with whiteouts Valerie Aurora
2011-03-23  1:58 ` [PATCH 09/74] whiteout: tmpfs whiteout support Valerie Aurora
2011-03-23  1:58 ` [PATCH 10/74] ext2: Add ext2_dirent_in_use() Valerie Aurora
2011-03-23  1:58 ` [PATCH 11/74] ext2: Split ext2_add_entry() from ext2_add_link() Valerie Aurora
2011-03-23  1:58 ` [PATCH 12/74] whiteout: ext2 whiteout support Valerie Aurora
2011-03-23  1:58 ` [PATCH 13/74] whiteout: jffs2 " Valerie Aurora
2011-03-23  1:58 ` [PATCH 14/74] fallthru: Basic fallthru definitions Valerie Aurora
2011-03-23  1:58 ` [PATCH 15/74] fallthru: ext2 fallthru support Valerie Aurora
2011-03-23  1:58 ` [PATCH 16/74] fallthru: tmpfs " Valerie Aurora
2011-03-23  1:58 ` [PATCH 17/74] fallthru: jffs2 " Valerie Aurora
2011-03-23  1:58 ` [PATCH 18/74] VFS: Add hard read-only users count to superblock Valerie Aurora
2011-03-23  1:58 ` [PATCH 19/74] VFS: Make clone_mnt()/copy_tree()/collect_mounts() return errors Valerie Aurora
2011-03-23  1:58 ` [PATCH 20/74] VFS: Add CL_NO_SHARED flag to clone_mnt()/copy_tree() Valerie Aurora
2011-03-23  1:58 ` [PATCH 21/74] VFS: Add CL_NO_SLAVE " Valerie Aurora
2011-03-23  1:58 ` [PATCH 22/74] VFS: Add CL_MAKE_HARD_READONLY " Valerie Aurora
2011-03-23  1:58 ` [PATCH 23/74] union-mount: Union mounts documentation Valerie Aurora
2011-03-23  1:59 ` [PATCH 24/74] union-mount: Introduce MNT_UNION and MS_UNION flags Valerie Aurora
2011-03-23  1:59 ` [PATCH 25/74] union-mount: Add CONFIG_UNION_MOUNT option Valerie Aurora
2011-03-23  1:59 ` [PATCH 26/74] union-mount: Create union_stack structure Valerie Aurora
2011-03-23  1:59 ` [PATCH 27/74] union-mount: Add two superblock fields for union mounts Valerie Aurora
2011-03-23  1:59 ` [PATCH 28/74] union-mount: Add union_alloc() Valerie Aurora
2011-03-23  1:59 ` [PATCH 29/74] union-mount: Add union_find_dir() Valerie Aurora
2011-03-23  1:59 ` [PATCH 30/74] union-mount: Create d_free_unions() Valerie Aurora
2011-03-23  1:59 ` [PATCH 31/74] union-mount: Free union stack on removal of topmost dentry from dcache Valerie Aurora
2011-03-23  1:59 ` [PATCH 32/74] union-mount: Create union_add_dir() Valerie Aurora
2011-03-23  1:59 ` [PATCH 33/74] union-mount: Add union_create_topmost_dir() Valerie Aurora
2011-03-23  1:59 ` [PATCH 34/74] union-mount: Create IS_MNT_UNION() Valerie Aurora
2011-03-23  1:59 ` [PATCH 35/74] union-mount: Create needs_lookup_union() Valerie Aurora
2011-03-23  1:59 ` [PATCH 36/74] union-mount: Create check_topmost_union_mnt() Valerie Aurora
2011-03-23  1:59 ` [PATCH 37/74] union-mount: Add clone_union_tree() and put_union_sb() Valerie Aurora
2011-03-23  1:59 ` [PATCH 38/74] union-mount: Create build_root_union() Valerie Aurora
2011-03-23  1:59 ` [PATCH 39/74] union-mount: Create prepare_mnt_union() and cleanup_mnt_union() Valerie Aurora
2011-03-23  1:59 ` [PATCH 40/74] union-mount: Prevent improper union-related remounts Valerie Aurora
2011-03-23  1:59 ` [PATCH 41/74] union-mount: Prevent topmost file system from being mounted elsewhere Valerie Aurora
2011-03-23  1:59 ` [PATCH 42/74] union-mount: Prevent bind mounts of union mounts Valerie Aurora
2011-03-23  1:59 ` [PATCH 43/74] union-mount: Implement union mount Valerie Aurora
2011-03-23  1:59 ` [PATCH 44/74] union-mount: Temporarily disable some syscalls Valerie Aurora
2011-03-23  2:12 ` [PATCH 00/74] Union mounts version something or other Valerie Aurora
2011-03-24 13:43   ` Union mounts comparison with overlay file system prototype? Ric Wheeler
2011-03-25 11:38     ` Szeredi Miklos
2011-03-25 12:12       ` Ric Wheeler
2011-03-23  8:38 ` [PATCH 00/74] Union mounts version something or other Sedat Dilek
2011-03-24 22:40   ` Ben Hutchings
2011-03-25  2:32     ` Sedat Dilek
2011-03-30 14:30 ` David Howells
2011-04-01 16:48   ` Valerie Aurora
2011-04-21 13:09   ` David Howells
2011-04-24 21:48     ` Valerie Aurora

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).