Skip to content

nfs-utils: add IPv6 support to rpc.nfsd (try #5)

Jeff Layton linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10nfs-utils: don't link libexport.a and libmisc.a to nfsdutils/nfsd/Makefile.am+1 -30 replies
2/10nfs-utils: clean up option parsing in nfsd.cutils/nfsd/nfsd.c+4 -40 replies
3/10nfs-utils: convert rpc.nfsd to use xlog()support/nfs/nfssvc.c utils/nfsd/nfsd.c+61 -486 replies
4/10nfs-utils: clean up NFSCTL_* macros for handling protocol bitssupport/include/nfs/nfs.h+11 -40 replies
5/10nfs-utils: move check for active knfsd to helper functionsupport/nfs/nfssvc.c+31 -132 replies
6/10nfs-utils: convert nfssvc_setfds to use getaddrinfosupport/nfs/nfssvc.c utils/nfsd/nfsd.c+140 -692 replies
7/10nfs-utils: break up the nfssvc interfacesupport/include/nfslib.h support/nfs/nfssvc.c utils/nfsd/nfsd.c+77 -370 replies
8/10nfs-utils: add IPv6 support to nfssvc_setfdssupport/nfs/nfssvc.c+14 -05 replies
9/10nfs-utils: add IPv6 support to nfsdutils/nfsd/nfsd.c+89 -250 replies
10/10nfs-utils: update the nfsd manpageutils/nfsd/nfsd.man+16 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/10] nfs-utils: add IPv6 support to rpc.nfsd (try #5)

This is the fifth attempt at a patchset to add IPv6 support to the rpc.nfsd program. This set is quite a bit different from the earlier ones. The main differences are relatively minor cleanups and refinements.

I've also taken greater care to break up the patchset into smaller pieces. This does mean that multiple patches touch the same areas of code but the individual patches should be a bit smaller.

This set should be bisectable, but I've only really tested the final result. I have tested it on various combinations of build options and with ipv6.ko blacklisted and it seems to work appropriately in all cases.

Jeff Layton (10):
nfs-utils: don't link libexport.a and libmisc.a to nfsd
nfs-utils: clean up option parsing in nfsd.c
nfs-utils: convert rpc.nfsd to use xlog()
nfs-utils: clean up NFSCTL_* macros for handling protocol bits
nfs-utils: move check for active knfsd to helper function
nfs-utils: convert nfssvc_setfds to use getaddrinfo
nfs-utils: break up the nfssvc interface
nfs-utils: add IPv6 support to nfssvc_setfds
nfs-utils: add IPv6 support to nfsd
nfs-utils: update the nfsd manpage

 support/include/nfs/nfs.h |   15 ++-
 support/include/nfslib.h  |    7 +-
 support/nfs/nfssvc.c      |  261 +++++++++++++++++++++++++++++++--------------
 utils/nfsd/Makefile.am    |    4 +-
 utils/nfsd/nfsd.c         |  258 ++++++++++++++++++++++++++++++++------------
 utils/nfsd/nfsd.man       |   19 +++-
 6 files changed, 401 insertions(+), 163 deletions(-)