lib/nvmf: don't report invalid identify controller CNS
At least recent Linux guest VMs send SPDK_NVME_IDENTIFY_CTRLR_IOCS as a matter of course. While this isn't supported in lib/nvmf, as this doesn't represent an error, reduce the log level of the error message so we don't spam the logs. Signed-off-by: John Levon <john.levon@nutanix.com> Change-Id: I095de3e4331b3912cbc457da6d722b9883ec7884 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15646 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot
This commit is contained in:
parent
cebb63a7a7
commit
478c0fa852
@ -2919,7 +2919,7 @@ nvmf_ctrlr_identify(struct spdk_nvmf_request *req)
|
||||
}
|
||||
|
||||
invalid_cns:
|
||||
SPDK_INFOLOG(nvmf, "Identify command with unsupported CNS 0x%02x\n", cns);
|
||||
SPDK_DEBUGLOG(nvmf, "Identify command with unsupported CNS 0x%02x\n", cns);
|
||||
rsp->status.sct = SPDK_NVME_SCT_GENERIC;
|
||||
rsp->status.sc = SPDK_NVME_SC_INVALID_FIELD;
|
||||
return SPDK_NVMF_REQUEST_EXEC_STATUS_COMPLETE;
|
||||
|
Loading…
Reference in New Issue
Block a user