[PATCH 0/6] Update NFSROOT to use text-based mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux