]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
scsi: aacraid: Set correct Queue Depth for HBA1000 RAW disks
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Wed, 10 May 2017 16:39:38 +0000 (09:39 -0700)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Wed, 28 Jun 2017 14:24:15 +0000 (11:24 -0300)
commit03dbd8c7331ae4bb67617c25df6bd5e630e49f8b
tree4d10442f9b36f9579f1e69c68b5781be4ff74170
parentade5da55cc3544a4eb2a2d1005423b38e3cb64bd
scsi: aacraid: Set correct Queue Depth for HBA1000 RAW disks

BugLink: http://bugs.launchpad.net/bugs/1689980
The default queue depth for non NATIVE RAW disks is calculated from the
number of fibs and number of disks or a max of 256. This causes poor disk
IO performance.

The fix is to set default qd based on the type of disks
(SATA -32 and SAS -64)

Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Reviewed-by: David Carroll <david.carroll@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit db62b82486269148d2f90f3bd750c4abe2af2840 linux-next)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Colin King <colin.king@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/scsi/aacraid/linit.c