+14
−13
Loading
This change separates failover case more clearly, and will make the following changes simpler. Merge spdk_nvme_detach() and populate_namespaces_cb() into bdev_nvme_add_secondary_trid(). Then change the return type of bdev_nvme_add_secondary_trid() to void and move the comment to the head of it. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I0eb706728cf1b9ad7031eb66e11880a47e2ba767 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7044 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>