]> www.infradead.org Git - users/hch/block.git/commit
mmc: pass queue_limits to blk_mq_alloc_disk blk-limits
authorChristoph Hellwig <hch@lst.de>
Sat, 30 Dec 2023 07:49:43 +0000 (07:49 +0000)
committerChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2024 17:28:22 +0000 (18:28 +0100)
commit84b160fc6b20d95bea42fc98d5c3739246477306
treefd011debd312b82fc7d25bc40dda492411c679a2
parent7b4aa6d004691e82e0bbd7079f375df04378ecc0
mmc: pass queue_limits to blk_mq_alloc_disk

Pass the queue limit set at initialization time directly to
blk_mq_alloc_disk instead of updating it right after the allocation.

This requires refactoring the code a bit so that what was mmc_setup_queue
before also allocates the gendisk now and actually sets all limits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/mmc/core/queue.c