summaryrefslogtreecommitdiffstats
path: root/support/nfs/xlog.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-10-10 15:06:35 -0400
committerNeil Brown <neilb@suse.de>2007-10-11 11:03:18 +1000
commit56cfa1320a00cec885fbdf51c54b72acb01a95c0 (patch)
tree679acf5b65ea5b9a5204e2b104763efe7870bf12 /support/nfs/xlog.c
parent5258d6c1aa4fd319976d1b13e27493adb57a4120 (diff)
downloadnfs-utils-56cfa1320a00cec885fbdf51c54b72acb01a95c0.tar.gz
nfs-utils-56cfa1320a00cec885fbdf51c54b72acb01a95c0.tar.xz
nfs-utils-56cfa1320a00cec885fbdf51c54b72acb01a95c0.zip
text-based mount.nfs: Implement falling back to NFSv2 and UDP
If the initial user-specified options fail (with EOPNOTSUPP or EPROTONOSUPPORT) then the server has rejected the requested NFS version or transport protocol. In that case, probe the server, then construct a fresh set of mount options that ask for the specific mountd and NFS version and transport protocol that the server supports. Rewrite the mount options based on the results of the probe, then try the request again. An additional kernel patch is required to cause the kernel to return EOPNOTSUPP when an rpcbind fails during a NULL request. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/nfs/xlog.c')
0 files changed, 0 insertions, 0 deletions