Commit 478c0fa8 authored by John Levon's avatar John Levon Committed by Tomasz Zawadzki
Browse files

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: default avatarJohn Levon <john.levon@nutanix.com>
Change-Id: I095de3e4331b3912cbc457da6d722b9883ec7884
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15646


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@nvidia.com>
Community-CI: Mellanox Build Bot
parent cebb63a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;