+13
−2
Loading
spdk_app_stop() allocates struct call_reactor on the app thread. the last worker reactor freed it,which threadsanitizer flags as a data race. Route the final event through end_reactor() that executes on th app core, calls the original completion, and frees the comtext. Fixes: #3630. Change-Id: I64676a3b16ce4be46e9a348ebb5cb8e03e3f3273 Signed-off-by:siddhu-swarup <ialluraiah@msystechnologies.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25994 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>