All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Support "-t nfs,vers=4" mounts in the kernel
@ 2009-08-30 16:34 Chuck Lever
       [not found] ` <20090830162211.3652.14638.stgit-RytpoXr2tKZ9HhUboXbp9zCvJB+x5qRC@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Chuck Lever @ 2009-08-30 16:34 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs

Update to the patches that allow the "nfs" file system to handle
vers=4.  These patches are for discussion only.

Minor changes to mount.nfs and umount.nfs are required, and will be
posted in a separate thread.  With these changes, mount.nfs passes a
client_address option and skips rpcbind for vers=4 mounts, and
umount.nfs skips the UMNT call for vers=4 mounts.

This series adds proper handling of the default port (0 for v2/v3,
2049 for v4), teaches nfs_kill_super to handle both "nfs" and "nfs4"
file systems, and refactors NFSv4 routines so common code can be
invoked by "nfs" and "nfs4."

Simple mount test succeeds.  /proc/mounts lists the mount as "nfs4"
but /etc/mtab lists it as "nfs".  Thus combining nfs_kill_super and
nfs4_kill_super is probably not necessary.

I have not tried cross mounts or referrals.

---

Chuck Lever (5):
      NFS: Allow the "nfs" file system type to support NFSv4
      NFS: Move details of nfs4_get_sb() to a helper
      NFS: Refactor NFSv4 text-based mount option validation
      NFS: Mount option parser should detect unset port values
      NFS: combine nfs_kill_super() and nfs4_kill_super()


 fs/nfs/internal.h    |   23 ++++-
 fs/nfs/super.c       |  245 +++++++++++++++++++++++++++++++-------------------
 include/linux/nfs4.h |    1 
 3 files changed, 174 insertions(+), 95 deletions(-)

-- 
Chuck Lever <chuck.lever@oracle.com>

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

end of thread, other threads:[~2009-08-30 17:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-30 16:34 [PATCH 0/5] Support "-t nfs,vers=4" mounts in the kernel Chuck Lever
     [not found] ` <20090830162211.3652.14638.stgit-RytpoXr2tKZ9HhUboXbp9zCvJB+x5qRC@public.gmane.org>
2009-08-30 16:34   ` [PATCH 1/5] NFS: combine nfs_kill_super() and nfs4_kill_super() Chuck Lever
     [not found]     ` <20090830163432.3652.437.stgit-RytpoXr2tKZ9HhUboXbp9zCvJB+x5qRC@public.gmane.org>
2009-08-30 16:42       ` Christoph Hellwig
2009-08-30 16:59         ` Trond Myklebust
     [not found]           ` <1251651593.12486.14.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-08-30 17:04             ` Chuck Lever
2009-08-30 16:34   ` [PATCH 2/5] NFS: Mount option parser should detect unset port values Chuck Lever
2009-08-30 16:34   ` [PATCH 3/5] NFS: Refactor NFSv4 text-based mount option validation Chuck Lever
2009-08-30 16:34   ` [PATCH 4/5] NFS: Move details of nfs4_get_sb() to a helper Chuck Lever
2009-08-30 16:35   ` [PATCH 5/5] NFS: Allow the "nfs" file system type to support NFSv4 Chuck Lever

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.