linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] union mounts: In-kernel copyup v1
@ 2010-03-30 21:16 Valerie Aurora
  2010-03-30 21:16 ` [PATCH 1/4] VFS: Split inode_permission() and create path_permission() Valerie Aurora
  0 siblings, 1 reply; 5+ messages in thread
From: Valerie Aurora @ 2010-03-30 21:16 UTC (permalink / raw)
  To: Alexander Viro; +Cc: linux-fsdevel

Well, not really v1, but gotta start numbering somewhere. :)

This is a proof of concept implementation of in-kernel copyup for
union mounts.  It implements copy up of files on chown(), which is in
some ways harder than rename() or link() because it doesn't lookup the
parent separately.

The idea behind this version is to keep the <mnt,dentry> pair of the
parent directory of the chown() target around in case we need to copy
it up.  If we do need to copy up, we already have the path of the
directory for the topmost file system, instead of having to look it up
again.

Valerie Aurora (4):
  VFS: Split inode_permission() and create path_permission()
  VFS: create user_path_and_parent()
  union-mount: In-kernel copyup routines
  union-mount: Implement chown()

 fs/namei.c            |  125 +++++++++++++++++++++++++++++++----
 fs/open.c             |   33 ++++++++--
 fs/union.c            |  172 +++++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/fs.h    |    1 +
 include/linux/namei.h |    2 +
 include/linux/union.h |    2 +
 6 files changed, 315 insertions(+), 20 deletions(-)


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

end of thread, other threads:[~2010-03-30 21:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-30 21:16 [RFC PATCH 0/4] union mounts: In-kernel copyup v1 Valerie Aurora
2010-03-30 21:16 ` [PATCH 1/4] VFS: Split inode_permission() and create path_permission() Valerie Aurora
2010-03-30 21:16   ` [PATCH 2/4] VFS: create user_path_and_parent() Valerie Aurora
2010-03-30 21:16     ` [PATCH 3/4] union-mount: In-kernel copyup routines Valerie Aurora
2010-03-30 21:16       ` [PATCH 4/4] union-mount: Implement chown() 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).