Re: pass queue_limits to blk_alloc_disk for simple drivers

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

On Thu, 15 Feb 2024 08:10:46 +0100, Christoph Hellwig wrote:
> 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(-)
>
> [...]

Applied, thanks!

[1/9] block: pass a queue_limits argument to blk_alloc_disk
commit: 74fa8f9c553f7b5ccab7d103acae63cc2e080465
[2/9] nfblock: pass queue_limits to blk_mq_alloc_disk
commit: 2cfe0104bc1b4a94f81e386f5ff11041f39c1882
[3/9] brd: pass queue_limits to blk_mq_alloc_disk
commit: b5baaba4ce5c8a0e36b5232b16c0731e3eb0d939
[4/9] n64cart: pass queue_limits to blk_mq_alloc_disk
commit: cc7f05c7ec0b26e1eda8ec7a99452032d08d305e
[5/9] zram: pass queue_limits to blk_mq_alloc_disk
commit: 4190b3f291d9563a438bf32424a3f049442fc3a5
[6/9] bcache: pass queue_limits to blk_mq_alloc_disk
commit: b3f0846e720ee59291e3c5235f8a46e70dbc652c
[7/9] btt: pass queue_limits to blk_mq_alloc_disk
commit: 77c059222c31b0480c61964f361b28a4ce111e52
[8/9] pmem: pass queue_limits to blk_mq_alloc_disk
commit: c3d9c3031e18f145d8a12026d4d704125fe901ac
[9/9] dcssblk: pass queue_limits to blk_mq_alloc_disk
commit: af190c53c995bf7c742c3387f6537534f8b92322

Best regards,
--
Jens Axboe