mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
scsi: aacraid: Fix performance issue on logical drives
commit0015437cc0upstream. Fix performance issue where the queue depth for SmartIOC logical volumes is set to 1, and allow the usual logical volume code to be executed Fixes:a052865fe2(aacraid: Set correct Queue Depth for HBA1000 RAW disks) Cc: stable@vger.kernel.org Signed-off-by: Sagar Biradar <Sagar.Biradar@microchip.com> Reviewed-by: Dave Carroll <david.carroll@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bd69e82718
commit
02a29f3c1f
@@ -413,13 +413,16 @@ static int aac_slave_configure(struct scsi_device *sdev)
|
||||
if (chn < AAC_MAX_BUSES && tid < AAC_MAX_TARGETS && aac->sa_firmware) {
|
||||
devtype = aac->hba_map[chn][tid].devtype;
|
||||
|
||||
if (devtype == AAC_DEVTYPE_NATIVE_RAW)
|
||||
if (devtype == AAC_DEVTYPE_NATIVE_RAW) {
|
||||
depth = aac->hba_map[chn][tid].qd_limit;
|
||||
else if (devtype == AAC_DEVTYPE_ARC_RAW)
|
||||
set_timeout = 1;
|
||||
goto common_config;
|
||||
}
|
||||
if (devtype == AAC_DEVTYPE_ARC_RAW) {
|
||||
set_qd_dev_type = true;
|
||||
|
||||
set_timeout = 1;
|
||||
goto common_config;
|
||||
set_timeout = 1;
|
||||
goto common_config;
|
||||
}
|
||||
}
|
||||
|
||||
if (aac->jbod && (sdev->type == TYPE_DISK))
|
||||
|
||||
Reference in New Issue
Block a user