Re: [PATCH 04/23] scsi: initialize scsi midlayer limits before allocating the queue

Hannes Reinecke
2024-04-03T06:49:30Z

On 4/2/24 15:06, Christoph Hellwig wrote:
> 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>
> 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>
> ---
> drivers/scsi/scsi_lib.c | 32 ++++++++++++++---------------
> drivers/scsi/scsi_scan.c | 5 +++--
> drivers/scsi/scsi_transport_fc.c | 11 +++++-----
> drivers/scsi/scsi_transport_iscsi.c | 5 +++--
> include/scsi/scsi_transport.h | 2 +-
> 5 files changed, 28 insertions(+), 27 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich