fbbc8c4f81
For multipath, when an new nvme_ns is added to an existing nvme_bdev, we need to add the corresponding qpair to all existing nvme_bdev_channels dynamically. The RPC bdev_nvme_attach_controller has to return after that. Hence populating namespace needs to be asynchronous. On the other hand, when an nvme_ns is removed from an existing nvme_bdev, we need to remove the corresponding qpair from all existing nvme_bdev_channels dynamically. Hence depopulating namespace needs to be asynchronous. By the recent refactoring, two callbacks, nvme_ctrlr_populate_namespace_done() and nvme_ctrlr_depopulate_namespace_done() were removed accidentally. We need to restore these. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I37ea2420588cef3a18648dec053f8bd2b884e86b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9392 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 |