mbox series

[v2,0/3] scsi: fixes for targets with many LUNs

Message ID 20230606193845.9627-1-mwilck@suse.com (mailing list archive)
Headers show
Series scsi: fixes for targets with many LUNs | expand

Message

Martin Wilck June 6, 2023, 7:38 p.m. UTC
From: Martin Wilck <mwilck@suse.com>

This patch series addresses some issues we saw in a test setup
with a large number of SCSI LUNs. The first two patches simply
increase the number of available sg and bsg devices. The last one
fixes an large delay we encountered between blocking a Fibre Channel
remote port and the dev_loss_tmo.

Changes v1 -> v2:
 - call blk_mq_wait_quiesce_done() from scsi_target_block() to
   cover the case where BLK_MQ_F_BLOCKING is set (Bart van Assche)

Hannes Reinecke (3):
  bsg: increase number of devices
  scsi: sg: increase number of devices
  scsi: simplify scsi_stop_queue()

 block/bsg.c             |  2 +-
 drivers/scsi/scsi_lib.c | 28 ++++++++++++++--------------
 drivers/scsi/sg.c       |  2 +-
 3 files changed, 16 insertions(+), 16 deletions(-)

Comments

Bart Van Assche June 6, 2023, 8:33 p.m. UTC | #1
On 6/6/23 12:38, mwilck@suse.com wrote:
> From: Martin Wilck <mwilck@suse.com>
> 
> This patch series addresses some issues we saw in a test setup
> with a large number of SCSI LUNs. The first two patches simply
> increase the number of available sg and bsg devices. The last one
> fixes an large delay we encountered between blocking a Fibre Channel
> remote port and the dev_loss_tmo.
> 
> Changes v1 -> v2:
>   - call blk_mq_wait_quiesce_done() from scsi_target_block() to
>     cover the case where BLK_MQ_F_BLOCKING is set (Bart van Assche)

For the entire series:

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Ming Lei June 7, 2023, 1:20 a.m. UTC | #2
On Wed, Jun 7, 2023 at 3:38 AM <mwilck@suse.com> wrote:
>
> From: Martin Wilck <mwilck@suse.com>
>
> This patch series addresses some issues we saw in a test setup
> with a large number of SCSI LUNs. The first two patches simply
> increase the number of available sg and bsg devices. The last one
> fixes an large delay we encountered between blocking a Fibre Channel
> remote port and the dev_loss_tmo.
>
> Changes v1 -> v2:
>  - call blk_mq_wait_quiesce_done() from scsi_target_block() to
>    cover the case where BLK_MQ_F_BLOCKING is set (Bart van Assche)


Reviewed-by: Ming Lei <ming.lei@redhat.com>

Thanks,