Spdk/test/nvmf/target
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
..
abort_qd_sizes.sh test/nvmf: Test different abort qd sizes under SPDK and kernel targets 2022-09-19 13:13:42 +00:00
abort.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
bdev_io_wait.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
bdevio.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
connect_disconnect.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
connect_stress.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
delete_subsystem.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
dif.sh test/nvmf: use recommended nvmf_create_subsystem rpc 2021-05-20 15:00:22 +00:00
discovery.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
fabrics_fuzz.sh test/nvmf: Remove redundant steps from fabrics_fuzz 2022-10-19 07:51:33 +00:00
filesystem.sh test: Wait for 'nvme disconnect' operations to remove disks 2022-09-09 12:57:55 +00:00
fio.sh test: Wait for 'nvme disconnect' operations to remove disks 2022-09-09 12:57:55 +00:00
fused_ordering.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
host_management.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
identify_passthru.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
initiator_timeout.sh test: Wait for 'nvme disconnect' operations to remove disks 2022-09-09 12:57:55 +00:00
invalid.sh spelling: test 2021-12-03 08:13:22 +00:00
multiconnection.sh test: Wait for 'nvme disconnect' operations to remove disks 2022-09-09 12:57:55 +00:00
multipath.sh test: Wait for 'nvme disconnect' operations to remove disks 2022-09-09 12:57:55 +00:00
multitarget_rpc.py scripts: fix PYTHONPATH references to scripts/ directory 2022-04-18 17:22:09 +00:00
multitarget.sh test/nvmf: Handle multiple arguments in nvmfappstart() 2020-05-13 07:46:04 +00:00
nmic.sh test: Wait for 'nvme disconnect' operations to remove disks 2022-09-09 12:57:55 +00:00
ns_hotplug_stress.sh test: add explicit listener for discovery subsystem 2022-02-28 11:06:16 +00:00
nvme_cli.sh test: Wait for 'nvme disconnect' operations to remove disks 2022-09-09 12:57:55 +00:00
nvmf_example.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
nvmf_lvol.sh test: add explicit listener for discovery subsystem 2022-02-28 11:06:16 +00:00
nvmf_vfio_user.sh test/nvme: Replace -s with -o for "io size in bytes" 2022-09-19 13:11:55 +00:00
nvmf_vhost_fio.job test/fio: supress fio output files 2022-06-23 07:43:36 +00:00
nvmf_vhost.sh event: add CPU lock files 2022-11-09 08:18:32 +00:00
perf_adq.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
queue_depth.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
rpc.sh test: Wait for 'nvme disconnect' operations to remove disks 2022-09-09 12:57:55 +00:00
shutdown.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
srq_overwhelm.sh test: Wait for 'nvme disconnect' operations to remove disks 2022-09-09 12:57:55 +00:00
tls.sh nvme/tcp: Allow to choose SSL socket implementation 2022-09-14 07:44:53 +00:00
vfio_user_fuzz.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
zcopy.sh event: add CPU lock files 2022-11-09 08:18:32 +00:00