diff options
author | Christoph Hellwig <hch@lst.de> | 2016-03-02 20:07:14 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-03-04 00:45:02 +0300 |
commit | 4d6af73d9e43f78651a43ee4c5ad221107ac8365 (patch) | |
tree | 4f267be22aec6c45e24894be81cc92c3bc1715f5 /fs/proc/root.c | |
parent | f21018427cb007a0894c36ad702990ab639cbbb4 (diff) | |
download | linux-4d6af73d9e43f78651a43ee4c5ad221107ac8365.tar.xz |
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 <hch@lst.de>
Reported-by: Jeff Lien <Jeff.Lien@hgst.com>
Tested-by: Jeff Lien <Jeff.Lien@hgst.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions