Re: pass queue_limits to blk_mq_alloc_disk for simple drivers

Jens Axboe
2024-02-20T13:22:04Z

On Thu, 15 Feb 2024 08:02:43 +0100, Christoph Hellwig wrote:
> this series converts all "simple" blk-mq drivers that don't have complex
> internal layering or other oddities to pass the queue_limits to
> blk_mq_alloc_disk. None of these drivers updates the limits at runtime.
>
> Diffstat:
> arch/um/drivers/ubd_kern.c | 8 +-
> drivers/block/aoe/aoeblk.c | 15 ++---
> drivers/block/floppy.c | 6 +-
> drivers/block/mtip32xx/mtip32xx.c | 13 ++--
> drivers/block/nbd.c | 13 ++--
> drivers/block/ps3disk.c | 17 +++---
> drivers/block/rbd.c | 29 +++++-----
> drivers/block/rnbd/rnbd-clt.c | 64 +++++++++--------------
> drivers/block/sunvdc.c | 18 +++---
> drivers/block/ublk_drv.c | 90 +++++++++++++++------------------
> drivers/cdrom/gdrom.c | 14 ++---
> drivers/memstick/core/ms_block.c | 14 ++---
> drivers/memstick/core/mspro_block.c | 15 ++---
> drivers/mmc/core/queue.c | 97 +++++++++++++++++++-----------------
> drivers/mtd/mtd_blkdevs.c | 12 ++--
> drivers/mtd/ubi/block.c | 6 +-
> drivers/s390/block/scm_blk.c | 17 +++---
> 17 files changed, 222 insertions(+), 226 deletions(-)
>
> [...]

Applied, thanks!

[01/17] ubd: pass queue_limits to blk_mq_alloc_disk
commit: 5d6789ce33a97718564d0b8d2ea34e03d650e624
[02/17] aoe: pass queue_limits to blk_mq_alloc_disk
commit: 9999200f583107f7e244e50935d480433b7d8a3b
[03/17] floppy: pass queue_limits to blk_mq_alloc_disk
commit: 48bc8c7ba6fb39a4325b07f3abe8fe5a77361c7e
[04/17] mtip: pass queue_limits to blk_mq_alloc_disk
commit: 68c3135fb5fbd85c7b2ca851184f30f54433a9d3
[05/17] nbd: pass queue_limits to blk_mq_alloc_disk
commit: 9a0d4970288de29191fa45bf0ab4d8398bfa3a01
[06/17] ps3disk: pass queue_limits to blk_mq_alloc_disk
commit: a7f18b74dbe171625afc2751942a92f71a4dd4ba
[07/17] rbd: pass queue_limits to blk_mq_alloc_disk
commit: 24f30b770c0f450346f1c99120427b2e938cdfd0
[08/17] rnbd-clt: pass queue_limits to blk_mq_alloc_disk
commit: e6ed9892f10d7195d621ede1cedc41421f1ca607
[09/17] sunvdc: pass queue_limits to blk_mq_alloc_disk
commit: d0fa9a8b0af71b69cf3dec10feaebe19d55a72cf
[10/17] gdrom: pass queue_limits to blk_mq_alloc_disk
commit: a339cf2bbfbe6e16ead79276d608912d36065884
[11/17] ms_block: pass queue_limits to blk_mq_alloc_disk
commit: f93b43ae3feafedc5777099ca1a0e05352b92671
[12/17] mspro_block: pass queue_limits to blk_mq_alloc_disk
commit: 9f633ecd43046659e3345bc4a4404e1d2ba67463
[13/17] mtd_blkdevs: pass queue_limits to blk_mq_alloc_disk
commit: 3ec44e52bfce60f6da65165bc86eb382462d173d
[14/17] ubiblock: pass queue_limits to blk_mq_alloc_disk
commit: 21b700c0812b6aa8f794c36b971772b2b08dab9a
[15/17] scm_blk: pass queue_limits to blk_mq_alloc_disk
commit: 066be10aef5a7ddd8ad537db7a5145c6d79d4ea2
[16/17] ublk: pass queue_limits to blk_mq_alloc_disk
commit: 494ea040bcb5f4cc78c37dc53c7915752c24f739
[17/17] mmc: pass queue_limits to blk_mq_alloc_disk
commit: 616f8766179277324393f7b77e07f14cb3503825

Best regards,
--
Jens Axboe