All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Add VFS support for looking up paths on remote servers using a temporary mount namespace
@ 2009-02-09 18:45 Trond Myklebust
       [not found] ` <20090209184534.23040.82605.stgit-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
  0 siblings, 1 reply; 18+ messages in thread
From: Trond Myklebust @ 2009-02-09 18:45 UTC (permalink / raw)
  To: linux-fsdevel, linux-nfs; +Cc: linux-kernel, viro

The following two patches attempt to improve NFSv4's ability to look up
the mount path on a remote server.

The first patch adds VFS support for walking the remote path, using a
temporary mount namespace to represent the server's namespace, so that
symlinks and referrals can be followed across remote filesystem and
server boundaries.
The second patch then uses this VFS helper in the NFSv4 mount code.

A later set of patches will clean out the legacy nfs4_path_walk, however
I'm hoping for some commentary from the VFS folks on whether or not this
approach is acceptable before I continue.

Cheers
  Trond

---

Trond Myklebust (2):
      NFSv4: Use vfs_path_lookup() instead of nfs4_path_walk()
      VFS: Add a VFS helper function vfs_remote_path_lookup()


 fs/namei.c                    |   75 ++++++++++++++++++++-
 fs/namespace.c                |   56 +++++++++++++--
 fs/nfs/super.c                |  149 +++++++++++++++++++++++++++++++++++------
 include/linux/mnt_namespace.h |    2 +
 include/linux/namei.h         |    2 +
 include/linux/nsproxy.h       |    1 
 kernel/nsproxy.c              |   11 +++
 7 files changed, 267 insertions(+), 29 deletions(-)

-- 
Signature

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

end of thread, other threads:[~2009-02-11 20:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09 18:45 [RFC PATCH 0/2] Add VFS support for looking up paths on remote servers using a temporary mount namespace Trond Myklebust
     [not found] ` <20090209184534.23040.82605.stgit-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-09 18:45   ` [RFC PATCH 1/2] VFS: Add a VFS helper function vfs_remote_path_lookup() Trond Myklebust
2009-02-09 18:45     ` Trond Myklebust
2009-02-09 18:45     ` Trond Myklebust
2009-02-09 18:45   ` [RFC PATCH 2/2] NFSv4: Use vfs_path_lookup() instead of nfs4_path_walk() Trond Myklebust
2009-02-09 18:45     ` Trond Myklebust
2009-02-09 18:45     ` Trond Myklebust
2009-02-10 15:58   ` [RFC PATCH 0/2] Add VFS support for looking up paths on remote servers using a temporary mount namespace J. Bruce Fields
2009-02-10 15:58     ` J. Bruce Fields
2009-02-10 15:58     ` J. Bruce Fields
2009-02-10 18:31     ` Trond Myklebust
2009-02-10 21:48       ` J. Bruce Fields
2009-02-10 22:48         ` Trond Myklebust
2009-02-10 22:48           ` Trond Myklebust
     [not found]           ` <1234306135.7423.171.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-02-11 19:53             ` J. Bruce Fields
2009-02-11 19:53               ` J. Bruce Fields
2009-02-11 19:53               ` J. Bruce Fields
2009-02-11 20:59               ` Trond Myklebust

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.