public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH [NFSd] NFSv3/TCP
@ 2004-05-07  6:39 Oliver Tennert
  2004-05-07  6:47 ` Neil Brown
  0 siblings, 1 reply; 16+ messages in thread
From: Oliver Tennert @ 2004-05-07  6:39 UTC (permalink / raw)
  To: neilb; +Cc: linux-kernel

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




^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <1T8Ks-7ED-15@gated-at.bofh.it>]

end of thread, other threads:[~2004-05-08 13:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-07  6:39 PATCH [NFSd] NFSv3/TCP Oliver Tennert
2004-05-07  6:47 ` Neil Brown
2004-05-07  7:19   ` Oliver Tennert
2004-05-07  7:22   ` Greg Banks
2004-05-07  7:52     ` Oliver Tennert
2004-05-07  8:11       ` Greg Banks
2004-05-07  8:33         ` Strange Linux behaviour!? Oliver Pitzeier
2004-05-07  8:34           ` Christoph Hellwig
2004-05-07  9:01             ` Oliver Pitzeier
2004-05-07 17:25             ` Timothy Miller
2004-05-07 18:21               ` DervishD
2004-05-07  8:43           ` Keith Owens
2004-05-07 10:28             ` DervishD
2004-05-07  8:57           ` Dick Streefland
     [not found] <1T8Ks-7ED-15@gated-at.bofh.it>
     [not found] ` <1T93S-7SM-11@gated-at.bofh.it>
     [not found]   ` <1T9dz-80x-17@gated-at.bofh.it>
     [not found]     ` <1ThkH-63V-1@gated-at.bofh.it>
2004-05-07 19:44       ` Pascal Schmidt
2004-05-08 13:31         ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox