diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2002-04-04 23:11:36 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-04-04 23:11:36 -0800 |
| commit | 77252dbf25f65e50fb6bf6de2cc3ff315037a13e (patch) | |
| tree | cc17c369a79e55e8ea78ec740fbb247c96a3fe3a /include/linux/nfsd | |
| parent | 1cc96096036d4004a90eedbcadf73f6fa27708a0 (diff) | |
[PATCH] PATCH 4 of 4 : knfsd : Increase the max block size for NFS replies.
This increases the max read/write size for nfsd from 8K to 32K.
This requires making NFSv2 return the right number in statfs
requests. NFSv3 already does that.
Diffstat (limited to 'include/linux/nfsd')
| -rw-r--r-- | include/linux/nfsd/const.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/nfsd/const.h b/include/linux/nfsd/const.h index f59c6a6ef8c4..bd828fa0314f 100644 --- a/include/linux/nfsd/const.h +++ b/include/linux/nfsd/const.h @@ -19,9 +19,9 @@ #define NFSSVC_MAXVERS 3 /* - * Maximum blocksize supported by daemon currently at 8K + * Maximum blocksize supported by daemon currently at 32K */ -#define NFSSVC_MAXBLKSIZE 8192 +#define NFSSVC_MAXBLKSIZE (32*1024) #ifdef __KERNEL__ |
