diff options
author | 2019-03-17 18:01:11 +0800 | |
---|---|---|
committer | 2019-04-01 12:11:48 -0600 | |
commit | 16e3e4187758d8936d358b26149de785b7d5a9b7 (patch) | |
tree | 4c5002dc5deb5ebc1e68346c10a2f8eb59fc2b3c /include/linux/blk_types.h | |
parent | block: remove argument of 'request_queue' from __blk_bvec_map_sg (diff) | |
download | wireguard-linux-16e3e4187758d8936d358b26149de785b7d5a9b7.tar.xz wireguard-linux-16e3e4187758d8936d358b26149de785b7d5a9b7.zip |
block: reuse __blk_bvec_map_sg() for mapping page sized bvec
Inside __blk_segment_map_sg(), page sized bvec mapping is optimized
a bit with one standalone branch.
So reuse __blk_bvec_map_sg() to do that.
Cc: Omar Sandoval <osandov@fb.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk_types.h')
0 files changed, 0 insertions, 0 deletions