Spdk/test/nvmf/host
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
..
aer.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
async_init.sh nvme/rdma: Add async set/get registers 2022-04-22 09:44:57 +00:00
bdevperf.sh event: add CPU lock files 2022-11-09 08:18:32 +00:00
discovery.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
dma.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
failover.sh event: add CPU lock files 2022-11-09 08:18:32 +00:00
fio.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
identify_kernel_nvmf.sh build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
identify.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
multicontroller.sh event: add CPU lock files 2022-11-09 08:18:32 +00:00
multipath.sh test/multipath: Use variable instead of fixed IP value 2022-06-15 11:19:20 +00:00
perf.sh test: add explicit listener for discovery subsystem 2022-02-28 11:06:16 +00:00
target_disconnect.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
timeout.sh test: disable reconnect test 2022-08-12 02:55:56 +00:00