From: Chuck Lever <chuck.lever@oracle.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH 0/6] Update NFSROOT to use text-based mounts
Date: Tue, 11 May 2010 13:15:44 -0400 [thread overview]
Message-ID: <20100511170754.2167.72681.stgit@matisse.1015granger.net> (raw)
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
next reply other threads:[~2010-05-11 17:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-11 17:15 Chuck Lever [this message]
[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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100511170754.2167.72681.stgit@matisse.1015granger.net \
--to=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).