scsi: target: core: Make logs less verbose
authorKonstantin Shelekhin <k.shelekhin@yadro.com>
Wed, 29 Sep 2021 11:50:00 +0000 (14:50 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Oct 2021 03:12:58 +0000 (23:12 -0400)
commit05787e3456ffcc8598aab632fcd5d160894619b3
tree5348bdfcf6ff71621b46184d7f50b313b6b73b59
parent87bf6a6bbe8bd62b5924b00161d28a0d6df151ca
scsi: target: core: Make logs less verbose

Change the log level of the following message to debug:

Unsupported SCSI Opcode 0xXX, sending CHECK_CONDITION.

This message is mostly helpful during debugging sessions in order to
understand errors on the initiator side. But most of the time it's just
useless and makes reading logs much harder.

It gets particularly annoying if there are many initiators that come and go
or if an initiator runs a program that does not care whether the command is
supported and just keeps sending it.

Link: https://lore.kernel.org/r/20210929114959.705852-1-k.shelekhin@yadro.com
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Konstantin Shelekhin <k.shelekhin@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_transport.c