lkml.org 
[lkml]   [2004]   [May]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateFri, 7 May 2004 08:39:29 +0200 (CEST)
FromOliver Tennert <>
SubjectPATCH [NFSd] NFSv3/TCP
Hi Neil (and others),

is there any reason why current 2.4 kernels do not allow for
NFSSVC_MAXBLKSIZE to become as large as 32k?

The problem is when I use NFSv3/TCP with a 2.4.25, say, on the server
side, as well as on the client side, I am experiencing lockups when
copying medium-sized or large files from the NFS fs to a local fs.

But, after applying the following trivial patch, everything is well again:

--- linux-2.4.26-1/include/linux/nfsd/const.h.ORG       Mon May  3
16:20:18 2004
+++ linux-2.4.26-1/include/linux/nfsd/const.h   Mon May  3 16:20:32 2004
@@ -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      (8*1024)
+#define NFSSVC_MAXBLKSIZE      (32*1024)

 #ifdef __KERNEL__

32k is the maximum block size allowed by the NFS3 standard, as far as I
understand.
I realize that, before 2.4.19, this patch was part of the NFSv3/TCP server
patches, before this functionality got into the vanilla kernel. But with
the merge, this patch got lost! Is there any reason?

Best regards

Oliver

__
________________________________________creating IT solutions
Dr. Oliver Tennert			science + computing ag
phone   +49(0)7071 9457-598		Hagellocher Weg 71-75
fax     +49(0)7071 9457-411		D-72070 Tuebingen, Germany
O.Tennert@science-computing.de		www.science-computing.de



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [from the cache]
©2003-2008