linux_dsm_epyc7002/drivers/scsi/mpt3sas
Reddy, Sreekanth 4dc06fd846 mpt3sas: delay scsi_add_host call to work with scsi-mq
In _scsih_probe, delay the call to scsi_add_host until the host has been
fully set up.

Otherwise, the default .can_queue value of 1 causes scsi-mq to set the block
layer request queue size to its minimum size, resulting in awful performance.

In _scsih_probe error handling, call mpt3sas_base_detach rather than
scsi_remove_host to properly clean up in reverse order.

In _scsih_remove, call scsi_remove_host earlier to clean up in reverse order.

Signed-off-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nagalakshmi Nandigama <Nagalakshmi.Nandigama@avagotech.com>
Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-07-25 17:17:04 -04:00
..
mpi [SCSI] mpt3sas: MPI2.5 Rev F v2.5.1.1 specification 2013-07-09 08:52:53 +01:00
Kconfig [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
Makefile [SCSI] Allow MPT Fusion SAS 3.0 driver to be built into the kernel 2013-09-06 11:42:53 -07:00
mpt3sas_base.c mpt3sas: delay scsi_add_host call to work with scsi-mq 2014-07-25 17:17:04 -04:00
mpt3sas_base.h mpt3sas: Remove uses of serial_number 2014-05-28 18:13:20 +02:00
mpt3sas_config.c [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_ctl.c mpt3sas: Remove uses of serial_number 2014-05-28 18:13:20 +02:00
mpt3sas_ctl.h [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_debug.h [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_scsih.c mpt3sas: delay scsi_add_host call to work with scsi-mq 2014-07-25 17:17:04 -04:00
mpt3sas_transport.c block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00
mpt3sas_trigger_diag.c [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_trigger_diag.h [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00