diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-07-23 12:03:54 +0200 |
---|---|---|
committer | Benjamin LaHaise <bcrl@kvack.org> | 2014-07-24 16:59:40 +0200 |
commit | 00fefb9cf2b5493a86912de55ba912bdfae4a207 (patch) | |
tree | 27ffb37b15e486de6031c7179eea3ba6bcee3e2b /drivers/macintosh | |
parent | aio: fix some comments (diff) | |
download | linux-00fefb9cf2b5493a86912de55ba912bdfae4a207.tar.xz 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 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions