[pnfs] [PATCH] Increase maximum buffer size for layouts to 4 KB
Benny Halevy
bhalevy at panasas.com
Tue Nov 28 03:04:19 EST 2006
We need a bigger buffer size for our layouts. Since we're
still using a statically sized buffer, is it ok with everybody
to increase its size to 4 KB as in the patch below?
Benny
Increase maximum buffer size for layouts to 4 KB.
Signed-off-by: Benny Halevy bhalevy at panasas.com
==== //depot/pub/pnfs/include/linux/pnfs_xdr.h#1 -
/home/bhalevy/p4.local/pub-pnfs/include/linux/pnfs_xdr.h ====
diff -Npu /tmp/tmp.12239.0
/home/bhalevy/p4.local/pub-pnfs/include/linux/pnfs_xdr.h -L
a/include/linux/pnfs_xdr.h -L b/include/linux/pnfs_xdr.h
--- a/include/linux/pnfs_xdr.h
+++ b/include/linux/pnfs_xdr.h
@@ -14,7 +14,7 @@
#include <linux/nfs4.h>
-#define PNFS_LAYOUT_MAXSIZE 1024
+#define PNFS_LAYOUT_MAXSIZE 4096
#define PNFS_MAX_NUM_LAYOUT_TYPES 2
enum layoutreturn_type {
More information about the pNFS
mailing list