bdevio: call shutdown on proper thread
Fixed a typo introduced in patch90440e1fe1
. Fixes:90440e1fe1
("test/bdevio: do unit tests on their own thread") Change-Id: I15a6c5366435f5d84e171f443182f292d4f7a0e3 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/383431 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
e6c4c8a15c
commit
830701b498
@ -845,7 +845,8 @@ stop_init_thread(unsigned num_failures)
|
||||
{
|
||||
struct spdk_event *event;
|
||||
|
||||
event = spdk_event_allocate(LCORE_ID_UT, __stop_init_thread, (void *)(uintptr_t)num_failures, NULL);
|
||||
event = spdk_event_allocate(LCORE_ID_INIT, __stop_init_thread,
|
||||
(void *)(uintptr_t)num_failures, NULL);
|
||||
spdk_event_call(event);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user