scsi: target: core: Silence the message about unknown VPD pages

Target does not support some VPD pages and is very verbose about it.
Sometimes initiators don't bother and just keep sending the same request
from time to time, filling up the logs.

This patch lowers the message priority to debug.

Link: https://lore.kernel.org/r/20220418212622.275516-1-k.shelekhin@yadro.com
Signed-off-by: Konstantin Shelekhin <k.shelekhin@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Konstantin Shelekhin 2022-04-19 00:26:22 +03:00 committed by Martin K. Petersen
parent fe413ab32b
commit 95af09fabf

View File

@ -769,7 +769,7 @@ spc_emulate_inquiry(struct se_cmd *cmd)
}
}
pr_err("Unknown VPD Code: 0x%02x\n", cdb[2]);
pr_debug("Unknown VPD Code: 0x%02x\n", cdb[2]);
ret = TCM_INVALID_CDB_FIELD;
out: