]> 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)
commit172fd245f762a3c5a65614c92755b92ab219cfe0
tree364609638b69f8c7e85e4b3f3f4d448c2d6f1c24
parentacc39598ab6ad86edd8ec5a595327056f78e548a
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