nvme_ctrlr_populate_namespace_done() needs nvme_ns, probe_ctx, and completion status. When multipath is supported, nvme_ctrlr_populate_namespace_done() will be called from the spdk_for_each_channel() callback. The spdk_for_each_channel() callback can have one context and one completion status. Hence nvme_ns or probe_ctx need to have another. If an nvme_ctrlr has multiple namespaces, a probe_ctx is shared by multiple nvme_ns. So let nvme_ns has probe_ctx. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Iedaaab80616d34d01935f4ebc31e1f3b84e09e32 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9047 Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
scheduler | ||
sock | ||
Makefile |