]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: megaraid_sas: Do not limit queue_depth to 1k in non-RDPQ mode
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Thu, 19 Oct 2017 09:49:04 +0000 (02:49 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 25 Oct 2017 08:55:31 +0000 (04:55 -0400)
commitcd2ff02b3f6c0eaed1aa533d36c15a31f33d73f7
treeedcd0135a7dd87b3818997a5a2ba6ae226f3442d
parent5a16f3584426449ccc91774ffb430102158d4ef0
scsi: megaraid_sas: Do not limit queue_depth to 1k in non-RDPQ mode

Driver load fails if memory allocation for request frame pool fails due
to the higher queue_depth requirement. The driver now allows dynamically
reducing queue_depth if memory allocations fail rather than failing
load.  With this, there is no need to limit queue_depth to 1K.

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>
drivers/scsi/megaraid/megaraid_sas_fusion.c