From: Martin Wilck <mwilck@xxxxxxxx> 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(-) -- 2.40.1