linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Update NFSROOT to use text-based mounts
@ 2010-05-11 17:15 Chuck Lever
       [not found] ` <20100511170754.2167.72681.stgit-RytpoXr2tKZ9HhUboXbp9zCvJB+x5qRC@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Chuck Lever @ 2010-05-11 17:15 UTC (permalink / raw)
  To: linux-nfs

Here is a small patch set proposed for 2.6.35.

Now that the kernel NFS client does text-based mount option pro-
cessing and has its own MNT client, much of the code in nfsroot.c is
redundant.  This series converts nfsroot.c to use mainline NFS client
mount option processing, and removes the redundant code.

Note that the default mount option settings for NFSROOT change with
this series.  The defaults are now vers=3 and tcp.  There is no
longer a default mntport setting of 627 (used if the server does not
have a running portmapper).

Some additional clean-ups are included, such as updating the in-kernel
documentation for NFSROOT, and adding a new kernel command-line
parameter that enables debugging messages during NFSROOT processing.

It would be good if others who use NFSROOT on a regular basis could
review and test these changes.

---

Chuck Lever (6):
      SUNRPC: Remove rpcb_getport_sync()
      NFS: Allow NFSROOT debugging messages to be enabled dynamically
      NFS: Clean up nfsroot.c
      NFS: Use super.c for NFSROOT mount option parsing
      NFS: Clean up NFSROOT command line parsing
      NFS: Remove \t from mount debugging message


 Documentation/filesystems/nfs/nfsroot.txt |   22 +
 Documentation/kernel-parameters.txt       |    5 
 fs/nfs/mount_clnt.c                       |    2 
 fs/nfs/nfsroot.c                          |  566 +++++++++--------------------
 include/linux/nfs_fs.h                    |   10 -
 include/linux/sunrpc/clnt.h               |    1 
 init/do_mounts.c                          |   12 -
 net/sunrpc/rpcb_clnt.c                    |   51 ---
 8 files changed, 209 insertions(+), 460 deletions(-)

-- 
Chuck Lever

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

end of thread, other threads:[~2010-05-11 17:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 17:15 [PATCH 0/6] Update NFSROOT to use text-based mounts Chuck Lever
     [not found] ` <20100511170754.2167.72681.stgit-RytpoXr2tKZ9HhUboXbp9zCvJB+x5qRC@public.gmane.org>
2010-05-11 17:16   ` [PATCH 1/6] NFS: Remove \t from mount debugging message Chuck Lever
2010-05-11 17:16   ` [PATCH 2/6] NFS: Clean up NFSROOT command line parsing Chuck Lever
2010-05-11 17:16   ` [PATCH 3/6] NFS: Use super.c for NFSROOT mount option parsing Chuck Lever
2010-05-11 17:16   ` [PATCH 4/6] NFS: Clean up nfsroot.c Chuck Lever
2010-05-11 17:17   ` [PATCH 5/6] NFS: Allow NFSROOT debugging messages to be enabled dynamically Chuck Lever
2010-05-11 17:17   ` [PATCH 6/6] SUNRPC: Remove rpcb_getport_sync() Chuck Lever

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).