Commit 95af09fa authored by Konstantin Shelekhin's avatar Konstantin Shelekhin Committed by Martin K. Petersen

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.comSigned-off-by: default avatarKonstantin Shelekhin <k.shelekhin@yadro.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent fe413ab3
...@@ -769,7 +769,7 @@ spc_emulate_inquiry(struct se_cmd *cmd) ...@@ -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; ret = TCM_INVALID_CDB_FIELD;
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment