diff options
author | 2024-04-09 16:37:29 +0200 | |
---|---|---|
committer | 2024-04-11 21:37:48 -0400 | |
commit | afd53a3d852808bfeb5bc3ae3cd1caa9389bcc94 (patch) | |
tree | 6403d333ee5008fb0d19a44497b7fe3307bcea02 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | scsi: mpi3mr: Pass queue_limits to bsg_setup_queue() (diff) | |
download | wireguard-linux-afd53a3d852808bfeb5bc3ae3cd1caa9389bcc94.tar.xz wireguard-linux-afd53a3d852808bfeb5bc3ae3cd1caa9389bcc94.zip |
scsi: core: Initialize scsi midlayer limits before allocating the queue
Turn __scsi_init_queue() into scsi_init_limits() which initializes
queue_limits structure that can be passed to blk_mq_alloc_queue().
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240409143748.980206-5-hch@lst.de
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions