numam-spdk/lib/event
Liu Xiaodong a20745541e reactor: add spdk_reactor_set_interrupt_mode func
spdk_reactor_set_interrupt_mode will send event to set
reactor into interrupt mode or poll mode, also set every
notify_cpuset on all reactors for consistency.
It can be used by RPC method or scheduler to set
reactor to interrupt mode while workload is lightweight.

Currently, this function is limited that the specific
reactor should have no attached spdk_thread.

Change-Id: I7e8f449bff1184b9a7948f80b9572066a19da60f
Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5853
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-01-25 20:37:50 +00:00
..
app_rpc.c reactor: avoid schedule thread to reactor in intr 2021-01-25 16:32:33 +00:00
app.c reactor: add spdk_reactor_set_interrupt_mode func 2021-01-25 20:37:50 +00:00
dpdk_governor.c event: Add DPDK based governor 2020-10-23 22:35:53 +00:00
gscheduler.c event: Fix SPDK_SCHEDULER_REGISTER macro 2021-01-15 08:28:30 +00:00
json_config.c lib/event: Fix no error info problem when reading spdk_tgt json file 2021-01-25 12:52:58 +00:00
log_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
Makefile event: Implement new scheduler 2021-01-22 18:31:25 +00:00
reactor.c reactor: add spdk_reactor_set_interrupt_mode func 2021-01-25 20:37:50 +00:00
rpc.c build: remove unused references to conf library 2020-10-20 02:42:16 +00:00
scheduler_dynamic.c scheduler: Track threads count per core during rebalancing 2021-01-22 18:31:25 +00:00
scheduler_static.c event: Fix SPDK_SCHEDULER_REGISTER macro 2021-01-15 08:28:30 +00:00
spdk_event.map reactor: add spdk_reactor_set_interrupt_mode func 2021-01-25 20:37:50 +00:00
subsystem_rpc.c event: move app_rpc contents 2020-09-25 11:43:42 +00:00
subsystem.c event: remove subsystem legacy config print 2020-10-21 02:25:45 +00:00