pass queue_limits to blk_mq_alloc_disk for simple drivers
- To: Jens Axboe <axboe@kernel.dk>
- Cc: Richard Weinberger <richard@nod.at>, Anton Ivanov <anton.ivanov@cambridgegreys.com>, Johannes Berg <johannes@sipsolutions.net>, Justin Sanders <justin@coraid.com>, Denis Efremov <efremov@linux.com>, Josef Bacik <josef@toxicpanda.com>, Geoff Levand <geoff@infradead.org>, Ilya Dryomov <idryomov@gmail.com>, "Md. Haris Iqbal" <haris.iqbal@ionos.com>, Jack Wang <jinpu.wang@ionos.com>, Ming Lei <ming.lei@redhat.com>, Maxim Levitsky <maximlevitsky@gmail.com>, Alex Dubov <oakad@yahoo.com>, Ulf Hansson <ulf.hansson@linaro.org>, Miquel Raynal <miquel.raynal@bootlin.com>, Vignesh Raghavendra <vigneshr@ti.com>, Vineeth Vijayan <vneethv@linux.ibm.com>, linux-block@vger.kernel.org, nbd@other.debian.org, ceph-devel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-s390@vger.kernel.org
- Subject: pass queue_limits to blk_mq_alloc_disk for simple drivers
- From: Christoph Hellwig <hch@lst.de>
- Date: Thu, 15 Feb 2024 08:02:43 +0100
- Message-id: <[🔎] 20240215070300.2200308-1-hch@lst.de>
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(-)
Reply to: