nfs-utils: add TIRPC/IPv6 support to rpc.nfsd
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | nfs-utils: move nfssvc.c to nfsd dir and clean up linking of nfsdsupport/ support/ utils/ +3 more | +29 | 0 replies | |
| 2/11 | nfs-utils: clean up option parsing in nfsd.cutils/ | +4 | 0 replies | |
| 3/11 | nfs-utils: convert rpc.nfsd to use xlog()utils/ utils/ | +66 | 3 replies | |
| 4/11 | nfs-utils: clean up NFSCTL_* macros for handling protocol bitssupport/ | +11 | 0 replies | |
| 5/11 | nfs-utils: declare a static common buffer for nfssvc.c routinesutils/ | +17 | 2 replies | |
| 6/11 | nfs-utils: move check for active knfsd to helper functionutils/ | +30 | 0 replies | |
| 7/11 | nfs-utils: convert nfssvc_setfds to use getaddrinfoutils/ utils/ | +140 | 3 replies | |
| 8/11 | nfs-utils: break up the nfssvc interfaceutils/ utils/ utils/ | +78 | 0 replies | |
| 9/11 | nfs-utils: add IPv6 support to nfssvc_setfdsutils/ | +14 | 0 replies | |
| 10/11 | nfs-utils: add IPv6 support to nfsdutils/ | +89 | 0 replies | |
| 11/11 | nfs-utils: update the nfsd manpage and copyright noticesutils/ utils/ utils/ | +25 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] nfs-utils: add TIRPC/IPv6 support to rpc.nfsd
This is the sixth attempt at a patchset to add TIRPC and IPv6 support to the rpc.nfsd program. The significant differences from the last set are:
1) Change it to log errors to stderr by default, and add a --syslog switch to force output to syslog
2) moved nfssvc.c into the nfsd directory (and out of libnfs.a). rpc.nfsd is the only user of those routines so there's no need to keep it in common code.
3) declared a common static string buffer for the nfssvc routines to use to cut down stack usage. It's also smaller than BUFSIZ so the general memory footprint for rpc.nfsd should be smaller.
There are also a number of cleanups and small fixes.
Comments and suggestions appreciated...
Jeff Layton (11):
nfs-utils: move nfssvc.c to nfsd dir and clean up linking of 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: declare a static common buffer for nfssvc.c routines
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 and copyright notices
support/include/nfs/nfs.h | 15 ++- support/include/nfslib.h | 1 - support/nfs/Makefile.am | 2 +- support/nfs/nfssvc.c | 187 ----------------------------- utils/nfsd/Makefile.am | 6 +- utils/nfsd/nfsd.c | 264 ++++++++++++++++++++++++++++++----------- utils/nfsd/nfsd.man | 27 ++++- utils/nfsd/nfssvc.c | 290 +++++++++++++++++++++++++++++++++++++++++++++ utils/nfsd/nfssvc.h | 27 ++++ 9 files changed, 548 insertions(+), 271 deletions(-) delete mode 100644 support/nfs/nfssvc.c create mode 100644 utils/nfsd/nfssvc.c create mode 100644 utils/nfsd/nfssvc.h