]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: bsg: Pass queue_limits to bsg_setup_queue()
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Apr 2024 14:37:27 +0000 (16:37 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 12 Apr 2024 01:37:48 +0000 (21:37 -0400)
commit4373d2ecca7fa7ad04aa9c371c80049bafec2610
tree446a61e1d3011a1fd4ee0720dc6e8a2d3ea77150
parent293066264fb45df4290897c22e69833bea5fe171
scsi: bsg: Pass queue_limits to bsg_setup_queue()

This allows bsg_setup_queue() to pass them to blk_mq_alloc_queue() and thus
set up the limits at queue allocation time.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240409143748.980206-3-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>
block/bsg-lib.c
drivers/scsi/mpi3mr/mpi3mr_app.c
drivers/scsi/scsi_transport_fc.c
drivers/scsi/scsi_transport_iscsi.c
drivers/scsi/scsi_transport_sas.c
drivers/ufs/core/ufs_bsg.c
include/linux/bsg-lib.h