From: Christoph Hellwig Date: Thu, 21 Aug 2014 16:09:25 +0000 (-0500) Subject: pnfs: allow splicing pre-encoded pages into the layoutcommit args X-Git-Tag: fixes-for-v3.18-merge-window~10^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f919c9f10c1cf821ee5f414683214a361a1b98c;p=pandora-kernel.git pnfs: allow splicing pre-encoded pages into the layoutcommit args Currently there is no XDR buffer space allocated for the per-layout driver layoutcommit payload, which leads to server buffer overflows in the blocklayout driver even under simple workloads. As we can't do per-layout sizes for XDR operations we'll have to splice a previously encoded list of pages into the XDR stream, similar to how we handle ACL buffers. Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed