]> www.infradead.org Git - users/hch/block.git/commit
block/bounce: count bytes instead of sectors
authorKeith Busch <kbusch@kernel.org>
Fri, 10 Jun 2022 19:58:26 +0000 (12:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 13 Jun 2022 21:21:35 +0000 (15:21 -0600)
commit4b5310470e72d77c9b52f8544b98aa8cf77d956f
tree4335b4e7ab5d16baf5c517320c345838c278a286
parent4ff782f24a4cad4b033d0f4f6e38cd50e0d463b0
block/bounce: count bytes instead of sectors

Individual bv_len's may not be a sector size.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220610195830.3574005-8-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bounce.c