Loading
bdev/nvme: fix hang in destruct when NS replaced after reconnect
When an NVMe-oF controller reconnects, SPDK may create a new struct spdk_nvme_ns for the same NSID while the bdev still holds a pointer to the previous namespace object. Fixes: #3714 Change-Id: I1992868dd514c63370977ccc552c986500bb9568 Signed-off-by:Fedor Kukso <kukso.f@xinnor.io> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26433 Community-CI: Mellanox Build Bot Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com>