nfsd: dump default number of threads to 16
Subsystems (2)
PATCH 1/1 nfsd: dump default number of threads to 16
nfsdctl defaults to 16 threads. Since the nfs-server.service file first tries nfsdctl and then falls back to rpc.nfsd, it would probably be wise to make the default in rpc.nfsd and nfs.conf 16, for the sake of consistency and to avoid surprises.
--- nfs.conf | 2 +- utils/nfsd/nfsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
nfs.conf +1 -1
@@ -66,7 +66,7 @@ # [nfsd] # debug=0 -# threads=8 +# threads=16 # host= # port=0 # grace-time=90
utils/nfsd/nfsd.c +1 -1
@@ -32,7 +32,7 @@#include "xcommon.h" #ifndef NFSD_NPROC -#define NFSD_NPROC 8 +#define NFSD_NPROC 16#endif static void usage (const char *);
Signature · 1 line
2.46.2
Subject line should say "bump", not "dump".
-Scott
Quoted 41 lines · Scott Mayhew
nfsdctl defaults to 16 threads. Since the nfs-server.service file first tries nfsdctl and then falls back to rpc.nfsd, it would probably be wise to make the default in rpc.nfsd and nfs.conf 16, for the sake of consistency and to avoid surprises.
Signed-off-by Scott Mayhew <[email protected]>--- nfs.conf | 2 +- utils/nfsd/nfsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)nfs.conf +1
-1@@ -66,7 +66,7 @@ # [nfsd] # debug=0 -# threads=8 +# threads=16 # host= # port=0 # grace-time=90utils/nfsd/nfsd.c +1
-1@@ -32,7 +32,7 @@#include "xcommon.h" #ifndef NFSD_NPROC -#define NFSD_NPROC 8 +#define NFSD_NPROC 16#endif static void usage (const char *);Signature · 1 line
2.46.2
Quoted 29 lines · Scott Mayhew
nfsdctl defaults to 16 threads. Since the nfs-server.service file first tries nfsdctl and then falls back to rpc.nfsd, it would probably be wise to make the default in rpc.nfsd and nfs.conf 16, for the sake of consistency and to avoid surprises.
Signed-off-by Scott Mayhew <[email protected]>--- nfs.conf | 2 +- utils/nfsd/nfsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)nfs.conf +1
-1@@ -66,7 +66,7 @@ # [nfsd] # debug=0 -# threads=8 +# threads=16 # host= # port=0 # grace-time=90utils/nfsd/nfsd.c +0
-0
utils/nfsd/nfsd.c line 38
Quoted 8 lines
utils/nfsd/nfsd.c +1
-1@@ -32,7 +32,7 @@#include "xcommon.h" #ifndef NFSD_NPROC -#define NFSD_NPROC 8 +#define NFSD_NPROC 16#endif static void usage (const char *);
I sort of consider rpc.nfsd to be legacy code and think we shouldn't touch it, but I don't have a strong technical reason to oppose this. I'm fine with this if it's the consensus.
Quoted 6 lines · Scott Mayhew
nfsdctl defaults to 16 threads. Since the nfs-server.service file first tries nfsdctl and then falls back to rpc.nfsd, it would probably be wise to make the default in rpc.nfsd and nfs.conf 16, for the sake of consistency and to avoid surprises.
Signed-off-by Scott Mayhew <[email protected]>
Committed... (tag: nfs-utils-2-8-2-rc3)
steved.
Quoted 31 lines
--- nfs.conf | 2 +- utils/nfsd/nfsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)nfs.conf +1
-1@@ -66,7 +66,7 @@ # [nfsd] # debug=0 -# threads=8 +# threads=16 # host= # port=0 # grace-time=90utils/nfsd/nfsd.c +1
-1@@ -32,7 +32,7 @@#include "xcommon.h" #ifndef NFSD_NPROC -#define NFSD_NPROC 8 +#define NFSD_NPROC 16#endif static void usage (const char *);