Spdk/test
Michal Berger 0a845fec27 test/vhost: Create wrapper around wipefs
Call sync each time, as an extra step, to make sure all the writes on the underlying device completed. This is needed, as on occasion parted (called right after wipefs) fails to create pt complaining that the target device (and its partitions) are still in use.

Change-Id: I959d9b36a1588ec3754335995e3e8bc5057bfeb7
Signed-off-by: Michal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17498
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2023-05-09 17:58:11 +08:00
..
accel examples/accel/perf: add support for xor 2023-02-21 08:33:18 +00:00
app fuzz/llvm: provide a prefix to use when saving artifacts 2023-05-09 17:58:11 +08:00
bdev bdev/crypto: complete IOs on ENOMEM from accel 2023-05-09 17:58:11 +08:00
blobfs add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
blobstore add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
common test/packaging: Export LD_LIBRARY_PATH, PKG_CONFIG_PATH setup 2023-05-09 17:58:11 +08:00
compress bdev/compress: Port to use accel_fw instead of compressdev 2023-01-20 10:26:21 +00:00
cpp_headers update Intel copyright notices 2022-11-10 08:28:53 +00:00
dd add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
dma test/dma: call spdk_thread_exit() 2022-11-23 08:22:04 +00:00
dpdk_memory_utility add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
env add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
event autotest: unify style for test/ and ./test/ 2023-02-14 09:07:09 +00:00
external_code tests: Run make clean only when SPDK was configured 2023-02-02 09:05:56 +00:00
ftl test/ftl: add cases line to cover RPC bdev_ftl_unload 2023-01-17 20:32:58 +00:00
fuzz fuzz/llvm: move coverage data to llvm/coverage 2023-05-09 17:58:11 +08:00
interrupt test: wait_for_examine and delay in reap_unregistered_poller.sh 2023-05-09 17:58:11 +08:00
ioat add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
iscsi_tgt bdev/pmem: Removing bdev pmem - updated tests 2023-03-09 09:21:23 +00:00
json_config accel: add accel_set_options 2023-05-09 17:58:11 +08:00
lvol autotest: unify style for test/ and ./test/ 2023-02-14 09:07:09 +00:00
make test/check_so_deps: Adjust printout when $SPDK_ABI_DIR is not set 2023-05-09 17:58:11 +08:00
nvme test/nvme: add doorbell_aers test app 2023-03-31 17:41:35 +00:00
nvmf test/nvmf: Add more Nvidia NIC IDs 2023-05-09 17:58:11 +08:00
ocf bdev/ocf: Update OCF to 22.6.1 2023-04-06 14:40:39 +00:00
openstack add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
packaging test/packaging: Export LD_LIBRARY_PATH, PKG_CONFIG_PATH setup 2023-05-09 17:58:11 +08:00
rpc lib/trace: add trace_get_info RPC 2022-12-05 09:50:38 +00:00
rpc_client add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler test/scheduler: Merge cppc_cpufreq into acpi-cpufreq check 2023-03-22 07:08:22 +00:00
setup test/setup: Lower per_node_2G_alloc to per_node_1G_alloc 2023-03-30 07:01:43 +00:00
sma test/sma: limit number of vhost-blk devices to 2 2023-03-13 21:02:27 +00:00
spdkcli test/spdkcli: Include errors from a failed command 2023-05-09 17:58:11 +08:00
thread thread: test SPDK spinlocks in an application 2022-12-06 21:20:17 +00:00
ublk test/ublk: add parameter for num devices 2023-01-25 10:52:36 +00:00
unit lvol_ut: add test for invalid options 2023-05-09 17:58:11 +08:00
vfio_user test/vfio-user: reduce spdk_tgt memory allocation 2023-05-09 17:58:11 +08:00
vhost test/vhost: Create wrapper around wipefs 2023-05-09 17:58:11 +08:00
vmd add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_cunit.h update Intel copyright notices 2022-11-10 08:28:53 +00:00