]> www.infradead.org Git - users/hch/block.git/commit
block: pass struct queue_limits to the bio splitting helpers block-split-cleanup
authorChristoph Hellwig <hch@lst.de>
Fri, 22 Jul 2022 07:16:23 +0000 (09:16 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 22 Jul 2022 07:16:23 +0000 (09:16 +0200)
commit185435b2f903873dc14bbf068c10d95bbc7e6acb
tree283ba388f155806c0614f6ac8c5203aed2846567
parent594838093e9016f10f5f53158bd09db5ed71f1af
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>
block/bio-integrity.c
block/bio.c
block/blk-merge.c
block/blk-mq.c
block/blk.h