Skip to content

Replace NFSROOT mount option parsing

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6NFS: Remove \t from mount debugging messagefs/nfs/mount_clnt.c+1 -10 replies
2/6NFS: Clean up NFSROOT command line parsingfs/nfs/nfsroot.c+23 -90 replies
3/6NFS: Use super.c for NFSROOT mount option parsingfs/nfs/nfsroot.c include/linux/nfs_fs.h init/do_mounts.c+187 -170 replies
4/6NFS: Clean up nfsroot.cfs/nfs/nfsroot.c+1 -4180 replies
5/6NFS: Allow NFSROOT debugging messages to be enabled dynamicallyDocumentation/filesystems/nfs/nfsroot.txt Documentation/kernel-parameters.txt fs/nfs/nfsroot.c+39 -70 replies
6/6SUNRPC: Remove rpcb_getport_sync()include/linux/sunrpc/clnt.h net/sunrpc/rpcb_clnt.c+0 -520 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Replace NFSROOT mount option parsing

Trond-

For 2.6.37, it would be nice to eliminate the redundant mount option parsing logic in fs/nfs/nfsroot.c. Merged up to 2.6.36-rc, and compile-tested.

We had discussed, as a first step, merging these into linux-next. I unit-tested these on late 2.6.34-rc kernels, so there might be an additional detail or two to clean up.

---

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, 208 insertions(+), 461 deletions(-)
Signature · 1 line
Chuck Lever