]> git.proxmox.com Git - mirror_ubuntu-kernels.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, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commit9cfe3ddecdc556ab1d1693b29e8a26ba80953ccc
tree6442d3c8a80f4584e5fa7397b48acde380a3fb3f
parent67927d22015060967122facc8cfeaad8012e8808
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