Factor out the common operation to destruct nvme_bdev_ctrlr further into an new helper function _nvme_bdev_ctrlr_destruct() from remove_cb(), bdev_nvme_delete(), and bdev_nvme_library_fini(). The next patch will use SPDK message to fix the race condition by locking/unlocking during linked list parse. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: If5392bebcf830fac6165aa424b06aec0c9274dc8 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5320 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> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |