]> www.infradead.org Git - users/hch/block.git/commit
aoe: pass queue_limits to blk_mq_alloc_disk
authorChristoph Hellwig <hch@lst.de>
Thu, 1 Feb 2024 07:08:51 +0000 (08:08 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2024 17:28:18 +0000 (18:28 +0100)
commitb0632adad79003dd80af9b02f98f89f85a2fd83e
tree570259adb9c323d3c414bb437868293c2cdc5492
parent370748dfa1501382ea12b55017aeab1fa69cfb78
aoe: pass queue_limits to blk_mq_alloc_disk

Pass the few limits aoe imposes directly to blk_mq_alloc_disk instead
of setting them one at a time and improve the way the default
max_hw_sectors is initialized while we're at it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/block/aoe/aoeblk.c