]> git.baikalelectronics.ru Git - kernel.git/commit
block: pass struct queue_limits to the bio splitting helpers
authorChristoph Hellwig <hch@lst.de>
Wed, 27 Jul 2022 16:23:00 +0000 (12:23 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Aug 2022 03:08:53 +0000 (21:08 -0600)
commite1e124dcfeafad7c92e5d2972e1b8b1136204e66
tree920aa9d6aa69abcb1bfa14c4e954632b0752b5a5
parentdde6478c38341f419743a6f3320271aee57cf2f7
block: pass struct queue_limits to the bio splitting helpers

Allow using the splitting helpers on just a queue_limits instead of
a full request_queue structure.  This will eventually allow file systems
or remapping drivers to split REQ_OP_ZONE_APPEND bios based on limits
calculated as the minimum common capabilities over multiple devices.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220727162300.3089193-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio-integrity.c
block/bio.c
block/blk-merge.c
block/blk-mq.c
block/blk.h