scsi: storvsc: Log TEST_UNIT_READY errors as warnings
authorMichael Kelley <mikelley@microsoft.com>
Fri, 6 Aug 2021 17:12:50 +0000 (10:12 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Aug 2021 03:17:10 +0000 (23:17 -0400)
commitdbe7633c394be4a500b887fe8f9ad486dcba9d77
tree31e76b52d559f68e59da5df81cf0ecfa80f033df
parent9977d880f7a3c233db9165a75a3a14defc2a4aee
scsi: storvsc: Log TEST_UNIT_READY errors as warnings

Commit 08f76547f08d ("scsi: storvsc: Update error logging") added more
robust logging of errors, particularly those reported as Hyper-V
errors. But this change produces extra logging noise in that
TEST_UNIT_READY may report errors during the normal course of detecting
device adds and removes.

Fix this by logging TEST_UNIT_READY errors as warnings, so that log lines
are produced only if the storvsc log level is changed to WARN level on the
kernel boot line.

Link: https://lore.kernel.org/r/1628269970-87876-1-git-send-email-mikelley@microsoft.com
Fixes: 08f76547f08d ("scsi: storvsc: Update error logging")
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/storvsc_drv.c