If the path to a subsystem changes from one discovery log to the next, we should add the new paths first, and only then remove paths. This ensures we don't remove the last path to a subsystem, causing associated bdevs to get unregisterd and reregistered. This requires adding a new log_page member to discovery_ctx, since we now need to walk the log page to find removed paths after all the new paths are attached. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I99fc2e40e6f7e2e26d558ebe7bc5208fe474c0ea Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11766 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
scheduler | ||
sock | ||
Makefile |