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 <email@example.com>
Signed-off-by: Ben Hutchings <firstname.lastname@example.org>
1 file changed