]> git.baikalelectronics.ru Git - kernel.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)
commit8df4408de5e89cf74a17666e8f0011df156c9207
tree6442d3c8a80f4584e5fa7397b48acde380a3fb3f
parent172fd245f762a3c5a65614c92755b92ab219cfe0
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