diff options
author | peter <peter@FreeBSD.org> | 2002-01-15 20:57:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-01-15 20:57:21 +0000 |
commit | f71468f39bb7c66ce628f2a2906227d37d28308b (patch) | |
tree | f4a1ce25c9982650e180ecb7815af23a4f3fd99f /sys/nfsclient/nfs.h | |
parent | e31ed9b278286759f128e806c324c7ab06d4b2e7 (diff) | |
download | FreeBSD-src-f71468f39bb7c66ce628f2a2906227d37d28308b.zip FreeBSD-src-f71468f39bb7c66ce628f2a2906227d37d28308b.tar.gz |
Revise the nfsiod auto tuning code. Now both the upper and lower limits
are specifyable by sysctl and are respected.
Submitted by: Maxime Henrion <mux@sneakerz.org>
Diffstat (limited to 'sys/nfsclient/nfs.h')
-rw-r--r-- | sys/nfsclient/nfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs.h b/sys/nfsclient/nfs.h index 01901a4..7a0f758 100644 --- a/sys/nfsclient/nfs.h +++ b/sys/nfsclient/nfs.h @@ -76,7 +76,7 @@ #define NFS_READDIRSIZE 8192 /* Def. readdir size */ #define NFS_DEFRAHEAD 1 /* Def. read ahead # blocks */ #define NFS_MAXRAHEAD 4 /* Max. read ahead # blocks */ -#define NFS_MAXASYNCDAEMON 20 /* Max. number async_daemons runnable */ +#define NFS_MAXASYNCDAEMON 64 /* Max. number async_daemons runnable */ #define NFS_DIRBLKSIZ 4096 /* Must be a multiple of DIRBLKSIZ */ #ifdef _KERNEL #define DIRBLKSIZ 512 /* XXX we used to use ufs's DIRBLKSIZ */ |