Re: [PATCH 10/15] block: pass a queue_limits argument to blk_mq_alloc_disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/22/24 18:36, Christoph Hellwig wrote:
Pass a queue_limits to blk_mq_alloc_disk and apply it if non-NULL.  This
will allow allocating queues with valid queue limits instead of setting
the values one at a time later.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
  arch/um/drivers/ubd_kern.c          | 2 +-
  block/blk-mq.c                      | 5 +++--
  drivers/block/amiflop.c             | 2 +-
  drivers/block/aoe/aoeblk.c          | 2 +-
  drivers/block/ataflop.c             | 2 +-
  drivers/block/floppy.c              | 2 +-
  drivers/block/loop.c                | 2 +-
  drivers/block/mtip32xx/mtip32xx.c   | 2 +-
  drivers/block/nbd.c                 | 2 +-
  drivers/block/null_blk/main.c       | 2 +-
  drivers/block/ps3disk.c             | 2 +-
  drivers/block/rbd.c                 | 2 +-
  drivers/block/rnbd/rnbd-clt.c       | 2 +-
  drivers/block/sunvdc.c              | 2 +-
  drivers/block/swim.c                | 2 +-
  drivers/block/swim3.c               | 2 +-
  drivers/block/ublk_drv.c            | 2 +-
  drivers/block/virtio_blk.c          | 2 +-
  drivers/block/xen-blkfront.c        | 2 +-
  drivers/block/z2ram.c               | 2 +-
  drivers/cdrom/gdrom.c               | 2 +-
  drivers/memstick/core/ms_block.c    | 2 +-
  drivers/memstick/core/mspro_block.c | 2 +-
  drivers/mmc/core/queue.c            | 2 +-
  drivers/mtd/mtd_blkdevs.c           | 2 +-
  drivers/mtd/ubi/block.c             | 2 +-
  drivers/nvme/host/core.c            | 2 +-
  drivers/s390/block/dasd_genhd.c     | 2 +-
  drivers/s390/block/scm_blk.c        | 2 +-
  include/linux/blk-mq.h              | 7 ++++---
  30 files changed, 35 insertions(+), 33 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
hare@xxxxxxx                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Ivo Totev, Andrew McDonald,
Werner Knoblich





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux