aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sysfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-04-11 08:23:27 +0200
committerJens Axboe <axboe@kernel.dk>2019-04-12 09:06:36 -0600
commit8a96a0e408102fb7aa73d8aa0b5e2219cfd51e55 (patch)
treea62d8c0f583ee464e40b5a41fae7cd4b891b7f31 /block/blk-mq-sysfs.c
parentMerge branch 'md-next' of https://github.com/liu-song-6/linux into for-5.2/block (diff)
downloadlinux-dev-8a96a0e408102fb7aa73d8aa0b5e2219cfd51e55.tar.xz
linux-dev-8a96a0e408102fb7aa73d8aa0b5e2219cfd51e55.zip
block: rewrite blk_bvec_map_sg to avoid a nth_page call
The offset in scatterlists is allowed to be larger than the page size, so don't go to great length to avoid that case and simplify the arithmetics. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions