Skip to content

RFC Protocol family negotiation in mount.nfs

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4text-based mount: Retry when server can't be reachedutils/mount/nfs.man utils/mount/stropts.c+9 -11 reply
2/4text-based mount: Replace nfs_lookup() with getaddrinfo(3)utils/mount/stropts.c+24 -80 replies
3/4text-based mount: Set addr= option in nfs_try_mount_foo()utils/mount/stropts.c+19 -40 replies
4/4text-based mount: Support protocol family negotiationutils/mount/stropts.c+60 -110 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC] [PATCH 0/4] Protocol family negotiation in mount.nfs

Hi Jeff-

For the record, here are patches that add support to mount.nfs for negotiating the protocol family correctly with servers that have both IPv4 and IPv6 addresses.

I've done some basic testing here against Solaris NFS servers, Linux with rpcbind (Fedora 12), and Linux with portmap (Ubuntu 9.10).

---

Chuck Lever (4):
text-based mount: Support protocol family negotiation text-based mount: Set addr= option in nfs_try_mount_foo() text-based mount: Replace nfs_lookup() with getaddrinfo(3) text-based mount: Retry when server can't be reached

 utils/mount/nfs.man   |    6 ++
 utils/mount/stropts.c |  120 ++++++++++++++++++++++++++++++++++++++++++-------
 2 files changed, 107 insertions(+), 19 deletions(-)
Signature · 1 line
chuck[dot]lever[at]oracle[dot]com