]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: megaraid_sas: Retry with reduced queue depth when alloc fails for higher QD
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Thu, 19 Oct 2017 09:49:03 +0000 (02:49 -0700)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 8 Mar 2018 02:44:08 +0000 (18:44 -0800)
commite8f7372b08422d41fe90497fe120078a9601761e
tree48a9fd0a085d0d568e6515a71372e000678f9569
parent5ca7be0ef8443c1b9c8cc9ad90c32af6cd129c55
scsi: megaraid_sas: Retry with reduced queue depth when alloc fails for higher QD

In certain cases, the host memory is limited and with FW supporting
higher queue depths there are increasing chances of IO request frame
allocation failures that we are seeing. In case of request frame
allocation failures, retry allocation with reduced queue depth (in steps
of 64) to continue to configure the controller with a reduced
performance rather than failing load.

Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Orabug: 27625001
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c
drivers/scsi/megaraid/megaraid_sas_fusion.h