Spdk/test/vhost
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
..
common test/fio: supress fio output files 2022-06-23 07:43:36 +00:00
fio add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
fiotest add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
fuzz add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
hotplug add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
initiator test/vhost: increase memory in virtio tests 2023-05-09 17:58:11 +08:00
integrity test/vhost: Create wrapper around wipefs 2023-05-09 17:58:11 +08:00
lvol add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
migration misc: Fixes targeted for latest shellcheck 2023-01-16 09:45:23 +00:00
other test/vhost: add virtio blk transport negative test 2023-03-24 14:32:05 +00:00
perf_bench test/vhost: Make sure $disk_map exists 2023-05-09 17:58:11 +08:00
readonly add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
shared add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
vhost_boot test/vhost_boot: Use string to check for disk device 2022-12-06 08:40:46 +00:00
windows add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
common.sh test/vhost: Make sure all TCP ports allocated for QEMU are available 2023-05-09 17:58:11 +08:00
irqs.sh test/vhost: Add helper functions for extracting IRQ data 2023-05-09 17:58:11 +08:00
manual.sh add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
parse_irqs.sh test/vhost: Gather IRQ stats from the VM 2023-05-09 17:58:11 +08:00
vhost.sh autotest: unify style for test/ and ./test/ 2023-02-14 09:07:09 +00:00