Spdk/lib/event
Krzysztof Karas 0af934b38c event: add CPU lock files
When running SPDK application on a given set of
CPU cores, create lock files for each of them.
This wil prevent user misconfiguration and
assigning a core to more than one SPDK instance.

The introduced mechanism is based on device locks
implemented in spdk_pci_device_claim() function.

Add a command line option to disable lock files.
This feature will be useful in cases where differing
CPU cores is impossible (eg. setup with only one core
available).

The patch also fixes all existing cases of overlapping
core masks.

Change-Id: Ie9aacb7523a3597b9aa20f2c3fa9efe4db92c44c
Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14919
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2022-11-09 08:18:32 +00:00
..
app_rpc.c scheduler: prevent user from switching back to static 2022-10-21 07:33:06 +00:00
app.c event: add CPU lock files 2022-11-09 08:18:32 +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