diff options
author | Christoph Hellwig <[email protected]> | 2016-03-02 18:07:14 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-03-03 14:45:02 -0700 |
commit | 4d6af73d9e43f78651a43ee4c5ad221107ac8365 (patch) | |
tree | 4f267be22aec6c45e24894be81cc92c3bc1715f5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | f21018427cb007a0894c36ad702990ab639cbbb4 (diff) |
block: support large requests in blk_rq_map_user_iov
This patch adds support for larger requests in blk_rq_map_user_iov by
allowing it to build multiple bios for a request. This functionality
used to exist for the non-vectored blk_rq_map_user in the past, and
this patch reuses the existing functionality for it on the unmap side,
which stuck around. Thanks to the iov_iter API supporting multiple
bios is fairly trivial, as we can just iterate the iov until we've
consumed the whole iov_iter.
Signed-off-by: Christoph Hellwig <[email protected]>
Reported-by: Jeff Lien <[email protected]>
Tested-by: Jeff Lien <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions