]> git.baikalelectronics.ru Git - kernel.git/commit
block/merge: count bytes instead of sectors
authorKeith Busch <kbusch@kernel.org>
Fri, 10 Jun 2022 19:58:25 +0000 (12:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 27 Jun 2022 12:29:11 +0000 (06:29 -0600)
commit3344a7e33df62be62ff4b2f4b39801c84e284b94
tree364609638b69f8c7e85e4b3f3f4d448c2d6f1c24
parent23bcd3071fa5e9e47b4ceae27f48bfd65750d082
block/merge: 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: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220610195830.3574005-7-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c