WSL2-Linux-Kernel/drivers/scsi/mpt2sas
Reddy, Sreekanth 02b7708134 mpt2sas: 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:03 -04:00
..
mpi [SCSI] mpt2sas: MPI2 Rev X (2.00.16) specifications 2013-09-03 07:27:51 -07:00
Kconfig [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
Makefile
mpt2sas_base.c mpt2sas: delay scsi_add_host call to work with scsi-mq 2014-07-25 17:17:03 -04:00
mpt2sas_base.h mpt2sas: annotate ioc->reply_post_host_index as __iomem 2014-07-25 17:16:56 -04:00
mpt2sas_config.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_ctl.c mpt2sas: Remove uses of serial_number 2014-05-28 18:13:23 +02:00
mpt2sas_ctl.h [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_debug.h [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_scsih.c mpt2sas: delay scsi_add_host call to work with scsi-mq 2014-07-25 17:17:03 -04:00
mpt2sas_transport.c block: Kill bio_segments()/bi_vcnt usage 2013-11-23 22:33:51 -08:00