Thespdk_nvme_ns_cmd_deallocate()function was renamed and extended to become spdk_nvme_ns_cmd_dataset_management(), which allows access to all of the NVMe Dataset Management command's parameters. Existing callers
struct nvme_command *cmd; uint64_t *tmp_lba; req = nvme_allocate_request(NULL, 0, cb_fn, cb_arg); if (req == NULL) { return ENOMEM; } cmd = &req->cmd; cmd->opc = NVME_OPC_WRITE_ZEROES; cmd->nsid = ns->id; tmp_lba = (uint64_t *)&cmd->cdw10; ...
spdk_nvme_ctrlr_get_first_active_ns是SPDK(Storage Performance Development Kit)库中的一个函数,用于获取给定NVMe控制器对象的第一个活动命名空间(Namespace)。 该函数具有以下原型: structspdk_nvme_ns*spdk_nvme_ctrlr_get_first_active_ns(structspdk_nvme_ctrlr*ctrlr); 参数说明: ctrlr:指向NVMe控制器对...
spdk_nvme_ctrlr_get_first_active_ns是 SPDK(Storage Performance Development Kit)库中的一个函数,用于获取给定控制器(Controller)上第一个活跃的 NVMe 命名空间(Namespace)。 该函数的定义如下: structspdk_nvme_ns*spdk_nvme_ctrlr_get_first_active_ns(structspdk_nvme_ctrlr*ctrlr); 参数ctrlr是一个指向...
rc = spdk_nvme_ns_cmd_write(ns_entry->ns, ns_entry->qpair, sequence.buf, 0, /* L...
spdk_nvme_req_next_sge_cb next_sge_fn; /** * Extended IO options passed by the user */ struct spdk_nvme_ns_cmd_ext_io_opts *opts; /** * If reset_sgl_fn == NULL, this is a contig payload, and contig_or_cb_arg contains the * virtual memory address of a single ...
Added two new APIs spdk_nvme_ns_cmd_io_mgmt_recv and spdk_nvme_ns_cmd_io_mgmt_send to receive and send the I/O management commands.nvmfNew spdk_nvmf_request_copy_to/from_buf() APIs have been added, which support iovecs, unlike the deprecated spdk_nvmf_request_get_data()....
Addedspdk_nvme_ctrlr_cmd_iov_raw_with_md()API to allow sending larger passthru commands. nvmf Addedmax_discard_size_kibandmax_write_zeroes_size_kibtonvmf_create_subsystemRPC to set the maximum discard size and maximum write zeroes size. ...
Added spdk_nvme_ns_cmd_write_uncorrectable.Added new error handling and reporting functionality. This includes several new API functions to facilitate applications recovering when a qpair or controller fails.spdk_nvme_ctrlr_reconnect_io_qpair - Reconnects a failed I/O qpair. spdk_nvme_ctrlr_...
A new function, spdk_nvme_ns_supports_compare, allows a user to check whether a given namespace supports the compare operation. A new family of functions, spdk_nvme_ns_compare*, give the user access to submitting compare commands to NVMe namespaces. A new function, spdk_nvme_ctrlr_cmd_get...