diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-07-23 18:03:54 +0800 |
---|---|---|
committer | Benjamin LaHaise <bcrl@kvack.org> | 2014-07-24 10:59:40 -0400 |
commit | 00fefb9cf2b5493a86912de55ba912bdfae4a207 (patch) | |
tree | 27ffb37b15e486de6031c7179eea3ba6bcee3e2b /fs/squashfs/xz_wrapper.c | |
parent | 2be4e7deec2d4398a0eb2165cc04086ebfc831d2 (diff) | |
download | linux-00fefb9cf2b5493a86912de55ba912bdfae4a207.tar.gz linux-00fefb9cf2b5493a86912de55ba912bdfae4a207.tar.bz2 linux-00fefb9cf2b5493a86912de55ba912bdfae4a207.zip |
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 <jmoyer@redhat.com>
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Diffstat (limited to 'fs/squashfs/xz_wrapper.c')
0 files changed, 0 insertions, 0 deletions