From 77252dbf25f65e50fb6bf6de2cc3ff315037a13e Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 4 Apr 2002 23:11:36 -0800 Subject: [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. --- include/linux/nfsd/const.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux/nfsd') 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__ -- cgit v1.2.3