]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJack Vogel <jack.vogel@oracle.com>
Thu, 8 Mar 2018 02:44:08 +0000 (18:44 -0800)
commit47baf6fad864b440d2d8010325a1d2d3bb6f2bc7
tree9a602c7a8df2c7186050653a8d0e5a6f8b1dc781
parente8f7372b08422d41fe90497fe120078a9601761e
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>
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