From: Christoph Hellwig Date: Thu, 11 Sep 2014 00:36:30 +0000 (-0700) Subject: pnfs/blocklayout: allocate separate pages for the layoutcommit payload X-Git-Tag: fixes-for-v3.18-merge-window~10^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34dc93c2fc04da0d01acf8a1660b4ab276208af7;p=pandora-kernel.git pnfs/blocklayout: allocate separate pages for the layoutcommit payload Instead of overflowing the XDR send buffer with our extent list allocate pages and pre-encode the layoutupdate payload into them. We optimistically allocate a single page use alloc_page and only switch to vmalloc when we have more extents outstanding. Currently there is only a single testcase (xfstests generic/113) which can reproduce large enough extent lists for this to occur. Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed