aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001
diff options
context:
space:
mode:
authorReddy, Sreekanth <Sreekanth.Reddy@avagotech.com>2014-07-14 12:01:35 +0530
committerChristoph Hellwig <hch@lst.de>2014-07-25 17:17:04 -0400
commit4dc06fd84645c323a1f20482b9b571cab6dc7d93 (patch)
tree97bd392143a71032120e3dd4e60d046343a323d4 /drivers/scsi/pm8001
parentmpt2sas: delay scsi_add_host call to work with scsi-mq (diff)
downloadlinux-dev-4dc06fd84645c323a1f20482b9b571cab6dc7d93.tar.xz
linux-dev-4dc06fd84645c323a1f20482b9b571cab6dc7d93.zip
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>
Diffstat (limited to 'drivers/scsi/pm8001')
0 files changed, 0 insertions, 0 deletions