]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: megaraid_sas: silence a warning
authorTomas Henzl <thenzl@redhat.com>
Tue, 4 Feb 2020 15:24:13 +0000 (16:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 13 Feb 2020 00:13:48 +0000 (19:13 -0500)
commit1f2088b064e90c14e4f76d5ea582a813ebd4a169
tree42b38e4d00f47c0d78e6cf3d65ea50a8a71b7be1
parent5e01fe5b0e90ea4aea9ea6a048274f913702e9ff
scsi: megaraid_sas: silence a warning

Add a flag to DMA memory allocation to silence a warning.

This driver allocates DMA memory for IO frames. This allocation may exceed
MAX_ORDER pages for few megaraid_sas controllers (controllers with very
high queue depth). Consequently, the driver has logic to keep reducing the
controller queue depth until the DMA memory allocation succeeds.

On impacted megaraid_sas controllers there would be multiple DMA allocation
failures until driver settled on an allocation that fit. These failed DMA
allocation requests caused stack traces in system logs. These were not
harmful and this patch silences those warnings/stack traces.

[mkp: clarified commit desc]

Link: https://lore.kernel.org/r/20200204152413.7107-1-thenzl@redhat.com
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_fusion.c