+3
−14
Loading
Because we always create bdev_rbd instance in spdk_thread_get_app_thread() thread. This patch fixes the issue found in another ongoing patch: In most cases, rbd->main_td was set, meaning that td did not equal spdk_get_thread() here. But now this this patch completely fixes this issue. Signed-off-by:Ziye Yang <ziye.yang@intel.com> Change-Id: Ieaf9dd6a95bb63b51623070822b36a0ee32fe2a5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18271 Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>