pass queue_limits to blk_alloc_disk for simple drivers

Christoph Hellwig
2024-02-15T07:11:05Z

Hi Jens,

this series converts all "simple" bio based 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/m68k/emu/nfblock.c | 10 ++++---
arch/xtensa/platforms/iss/simdisk.c | 8 +++--
block/genhd.c | 11 ++++---
drivers/block/brd.c | 26 +++++++++---------
drivers/block/drbd/drbd_main.c | 6 ++--
drivers/block/n64cart.c | 12 +++++---
drivers/block/null_blk/main.c | 7 ++--
drivers/block/pktcdvd.c | 7 ++--
drivers/block/ps3vram.c | 6 ++--
drivers/block/zram/zram_drv.c | 51 +++++++++++++++++-------------------
drivers/md/bcache/super.c | 48 +++++++++++++++++----------------
drivers/md/dm.c | 4 +-
drivers/md/md.c | 7 ++--
drivers/nvdimm/btt.c | 14 +++++----
drivers/nvdimm/pmem.c | 14 +++++----
drivers/nvme/host/multipath.c | 6 ++--
drivers/s390/block/dcssblk.c | 10 ++++---
include/linux/blkdev.h | 10 ++++---
18 files changed, 143 insertions(+), 114 deletions(-)