diff --git a/examples/nvme/identify/identify.c b/examples/nvme/identify/identify.c index 4435c90c6..0a801a86b 100644 --- a/examples/nvme/identify/identify.c +++ b/examples/nvme/identify/identify.c @@ -1574,6 +1574,8 @@ io_opc_name(uint8_t opc) return "Reservation Acquire"; case SPDK_NVME_OPC_RESERVATION_RELEASE: return "Reservation Release"; + case SPDK_NVME_OPC_COPY: + return "Copy"; default: if (opc >= 0x80) { return "Vendor specific"; diff --git a/lib/nvmf/ctrlr.c b/lib/nvmf/ctrlr.c index 70ed33e29..0000d1679 100644 --- a/lib/nvmf/ctrlr.c +++ b/lib/nvmf/ctrlr.c @@ -2404,6 +2404,8 @@ static const struct spdk_nvme_cmds_and_effect_log_page g_cmds_and_effect_log_pag [SPDK_NVME_OPC_ZONE_MGMT_SEND] = {1, 1, 0, 0, 0, 0, 0, 0}, /* ZONE MANAGEMENT RECEIVE */ [SPDK_NVME_OPC_ZONE_MGMT_RECV] = {1, 0, 0, 0, 0, 0, 0, 0}, + /* COPY */ + [SPDK_NVME_OPC_COPY] = {1, 1, 0, 0, 0, 0, 0, 0}, }, };