pass queue_limits to blk_mq_alloc_disk for simple drivers

Christoph Hellwig
2024-02-15T07:03:19Z

Hi Jens,

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(-)