Skip to content

Fix several issues with NFS mount option parsing

Chuck Lever linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6NFS: Allow any value for the "retry" optionfs/nfs/super.c+2 -10 replies
2/6NFS: Treat "intr" and "nointr" options as deprecatedfs/nfs/super.c+3 -60 replies
3/6NFS: missing newline in NFS mount debugging messagefs/nfs/super.c+1 -10 replies
4/6NFS: Fix "retrans" and "timeo" mount option behaviorfs/nfs/super.c include/linux/nfs_fs.h+51 -180 replies
5/6NFS: "proto=tcp" implies "mountproto=tcp"fs/nfs/super.c+14 -20 replies
6/6NFS: Allow sloppy mount option parsingfs/nfs/super.c+150 -860 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] Fix several issues with NFS mount option parsing

Hi Jeff-

Here's the kind of changes I'm thinking about for addressing some recently noticed problems with text-based mounts.

These patches should address the following issues:

o The retrans= and timeo= settings don't have any effect if they are specified before proto=

o If UDP is blocked, specifying "proto=tcp" doesn't work because the kernel still uses mountproto=udp by default

o Sloppy mount options aren't ever allowed, so automounter maps that contain options that aren't supported on Linux cause failed mounts

I think there are still important corner cases that aren't working as well as they should, but this ought to be a good start.

Signature · 1 line
corporate:    <chuck dot lever at oracle dot com>