Loading
bdev/nvme: Use SPDK message at bdev_nvme_library_fini() not to unlock during TAILQ_FOREACH()
Even if we use TAILQ_FOREACH_SAFE(), it is not safe to lock and unlock while linked list is parsed. To fix such erroneous implementation, use SPDK message. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I79a126560ccd847149d4d06bb3d2111e43060ff7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5321 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>