From: Gu Zheng Date: Wed, 23 Jul 2014 10:03:54 +0000 (+0800) Subject: aio: use iovec array rather than the single one X-Git-Tag: omap-for-v3.17/fixes-against-rc2~50^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00fefb9cf2b5493a86912de55ba912bdfae4a207;p=pandora-kernel.git aio: use iovec array rather than the single one Previously, we only offer a single iovec to handle all the read/write cases, so the PREADV/PWRITEV request always need to alloc more iovec buffer when copying user vectors. If we use a tmp iovec array rather than the single one, some small PREADV/PWRITEV workloads(vector size small than the tmp buffer) will not need to alloc more iovec buffer when copying user vectors. Reviewed-by: Jeff Moyer Signed-off-by: Gu Zheng Signed-off-by: Benjamin LaHaise --- Reading git-diff-tree failed