Spdk/test/vhost
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
..
common test/fio: supress fio output files 2022-06-23 07:43:36 +00:00
fio test/fio: supress fio output files 2022-06-23 07:43:36 +00:00
fiotest spelling: test 2021-12-03 08:13:22 +00:00
fuzz event: add CPU lock files 2022-11-09 08:18:32 +00:00
hotplug test/fio: supress fio output files 2022-06-23 07:43:36 +00:00
initiator event: add CPU lock files 2022-11-09 08:18:32 +00:00
integrity test/fio: supress fio output files 2022-06-23 07:43:36 +00:00
lvol test/vhost: Commonize some of the environment 2021-06-04 22:52:21 +00:00
migration test/fio: supress fio output files 2022-06-23 07:43:36 +00:00
other test/vhost: use getopts in vhost_run function 2021-03-29 07:20:50 +00:00
perf_bench perf/vhost: Skip comments in disk map files 2022-09-01 08:25:55 +00:00
readonly scripts/common: set special name to test partitions 2022-01-26 19:07:43 +00:00
shared test/vhost: don't save verify state files in shared test 2021-08-23 08:48:05 +00:00
vhost_boot test/fio: supress fio output files 2022-06-23 07:43:36 +00:00
windows test: removal deprecated sys_sgsw user location 2021-04-13 05:13:50 +00:00
common.sh test/vfio-user: add virtio_blk|scsi VM fio|restart test case 2022-09-29 19:42:56 +00:00
manual.sh test/vhost: Commonize some of the environment 2021-06-04 22:52:21 +00:00
vhost.sh test/vhost: Commonize some of the environment 2021-06-04 22:52:21 +00:00