Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Gu Zheng <[email protected]> Signed-off-by: Benjamin LaHaise <[email protected]>
- Loading branch information