Wait for all bdevs to finish examination before proceeding with the spdk_bdev_finish shutdown logic. This ensures the bdev layer and its modules are not trying to examine bdevs after the bdev layer has reported it has shut down. Theoretically, bdev modules could all defer their fini callbacks until any outstanding examinations are complete, but it is WAY simpler to just use the existing spdK_bdev_wait_for_examine API instead. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: If90cc2a786281d348b82de8beb17ac37ba269c64 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13850 Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
bdev_internal.h | ||
bdev_rpc.c | ||
bdev_zone.c | ||
bdev.c | ||
Makefile | ||
part.c | ||
scsi_nvme.c | ||
spdk_bdev.map | ||
vtune.c |