[pnfs] [PATCH] Increase maximum buffer size for layouts to 4 KB
William A. (Andy) Adamson
andros at citi.umich.edu
Tue Nov 28 09:30:55 EST 2006
hi benny
should be ok.
are you expecting to have a large number of 4KB layouts? are you combining a
bunch of layout ranges in the 4KB layout return?
-->Andy
On 11/28/06, Benny Halevy <bhalevy at panasas.com> wrote:
>
> 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 {
> _______________________________________________
> pNFS mailing list
> pNFS at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/pnfs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/pnfs/attachments/20061128/c78ccc5d/attachment-0003.html
More information about the pNFS
mailing list