numam-spdk/lib/event/spdk_event.map
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

46 lines
982 B
Plaintext

{
global:
# Public functions
spdk_app_opts_init;
spdk_app_start;
spdk_app_fini;
spdk_app_start_shutdown;
spdk_app_stop;
spdk_app_get_shm_id;
spdk_app_parse_core_mask;
spdk_app_get_core_mask;
spdk_app_parse_args;
spdk_app_usage;
spdk_event_allocate;
spdk_event_call;
spdk_framework_enable_context_switch_monitor;
spdk_framework_context_switch_monitor_enabled;
# Functions used by other SPDK libraries
spdk_reactors_init;
spdk_reactors_fini;
spdk_reactors_start;
spdk_reactors_stop;
spdk_reactor_get;
spdk_for_each_reactor;
spdk_reactor_set_interrupt_mode;
spdk_subsystem_find;
spdk_subsystem_get_first;
spdk_subsystem_get_next;
spdk_subsystem_get_first_depend;
spdk_subsystem_get_next_depend;
spdk_add_subsystem;
spdk_add_subsystem_depend;
spdk_subsystem_init;
spdk_subsystem_fini;
spdk_subsystem_init_next;
spdk_subsystem_fini_next;
spdk_app_json_config_load;
spdk_subsystem_config_json;
spdk_rpc_initialize;
spdk_rpc_finish;
local: *;
};