Spdk/lib/event
Tomasz Zawadzki f98ac63ea7 reactor: do not switch mode for threads in non interrupt tgt
Fixes #2693

spdk threads should not be placed in interrupt mode
if the application does not have interrupt mode enabled.

This resulted in race condition, while reactor was placed
in interrupt mode, thread was scheduled on it.
Such operation is a valid one, but never should be attempt
to change the threads mode in this case.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I10b0bbacac1df812badb91b37064528f66743e51
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14815
Reviewed-by: Michal Berger <michal.berger@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-09-30 16:14:10 +00:00
..
app_rpc.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
app.c trace: update trace help inside SPDK target 2022-09-27 19:41:17 +00:00
log_rpc.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
Makefile event: make opts structures packed 2022-08-18 10:08:40 +00:00
reactor.c reactor: do not switch mode for threads in non interrupt tgt 2022-09-30 16:14:10 +00:00
scheduler_static.c lib/event: do not set default scheduling period during init 2022-06-20 09:56:09 +00:00
spdk_event.map scheduler: create public API and subsystem for scheduler/governor 2021-09-07 07:33:03 +00:00