klibc 2.0.7 released on Mon, 07 Oct 2019 19:16:38 +0100
[klibc] nfsmount: Use kernel client's default value for timeo option

The current default of timeo=7 (0.7 seconds) is too short, especially
on slow networks.  We should not override the kernel client's default
unless explicitly requested.

This option is passed to the kernel through struct nfs_mount_data
rather than as a string, so we have to provide some value.  The kernel
client currently treats either 0 or UINT_MAX as requesting the default.
nfs-utils passes 0, so do the same here.

Reported-by: Alkis Georgopoulos <alkisg@gmail.com>
References: https://lists.zytor.com/archives/klibc/2019-September/004233.html
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
1 file changed