Skip to content

nfs-utils: nfsd support for minor version, take 2

Benny Halevy linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3utils/nfsd: add support for minorvers4support/include/nfs/nfs.h support/include/nfslib.h support/nfs/nfssvc.c +1 more+15 -60 replies
2/3utils/nfsd: disable minorvers4 via command lineutils/nfsd/nfsd.c+8 -30 replies
3/3utils/nfsd: enable nfs minorvers4 by defaultutils/nfsd/nfsd.c+1 -10 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/3] nfs-utils: nfsd support for minor version, take 2

Following the discussion we had last week
(see http://linux-nfs.org/pipermail/pnfs/2009-April/007283.html)

I made the following changes:
* minorvers4 enabled by default.
* No new -n option.

This makes minorvers control essentially the same as the major protocol version. minorvers4 is enabled by default and can be disabled using -N 4.1.

On Fedora, /etc/sysconfig/nfs can be changed as follows to configure the service startup script to disable 4.1:

etc/sysconfig/nfs renamed from etc/sysconfig/nfs.orig +2 -0
@@ -26,6 +26,8 @@
 #RPCNFSDARGS="-N 2 -N 3"
 # Turn off v4 protocol support
 #RPCNFSDARGS="-N 4"
+# Turn off v4.1 minorversion support
+RPCNFSDARGS="-N 4.1"
 # Number of nfs server processes to be started.
 # The default is 8. 
 #RPCNFSDCOUNT=8

The patches in this set are:
[PATCH 1/3] utils/nfsd: add support for minorvers4 [PATCH 2/3] utils/nfsd: disable minorvers4 via command line [PATCH 3/3] utils/nfsd: enable nfs minorvers4 by default

Benny