]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpt3sas: Remove scsi_dma_map() error messages
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Thu, 3 Mar 2022 14:02:03 +0000 (19:32 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 9 Mar 2022 03:34:46 +0000 (22:34 -0500)
commitea669f6267be2073dceda803d6cc05e81aa4d07e
treebb1c953b6953df22bf99863b78b01d0bd7d783a0
parent84ab03a37a87c00c9080ada6a85906854c33e152
scsi: mpt3sas: Remove scsi_dma_map() error messages

When scsi_dma_map() fails by returning a sges_left value less than zero,
the amount of logging produced can be extremely high.  In a recent end-user
environment, 1200 messages per second were being sent to the log buffer.
This eventually overwhelmed the system and it stalled.

These error messages are not needed. Remove them.

Link: https://lore.kernel.org/r/20220303140203.12642-1-sreekanth.reddy@broadcom.com
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c