Spdk/test/vhost
Michal Berger 0f89273f81 test/vhost: Partition the VM drive more gracefully
Check at which sector location it's safe to start the test partition.
Also, make sure that the VM drive matches the size which is used for
creating the lvol.

Also, reorder pt sync with sleep - we should make sure that partprobe
is called after block subsystem was properly updated. Extend the sleep
time just to be more on a safe side.

Change-Id: I789c8842fb8d136bb1eec1f7793019b18297c864
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5035
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
2020-11-18 11:27:16 +00:00
..
common test/vhost: remove run_fio.py script 2020-03-31 08:01:17 +00:00
fio test: fix uses of deprecated RPCs 2019-11-07 22:55:38 +00:00
fiotest test: add packed ring test in blk device 2020-10-16 08:15:51 +00:00
fuzz check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
hotplug check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
initiator script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
integrity test/vhost: add -f for mkfs.btrfs command 2020-10-21 12:19:38 +00:00
lvol check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
migration script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
other test/vhost: remove test for incorrect legacy config 2020-10-16 08:15:26 +00:00
perf_bench Modifications for using universal qcow2 image in tests 2020-10-28 15:07:56 +00:00
readonly check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
shared test/vhost: fix shared.sh test to run in vagrant box 2020-10-23 16:20:08 +00:00
vhost_boot test/vhost: Partition the VM drive more gracefully 2020-11-18 11:27:16 +00:00
windows tests: Switch to $SPDK_TEST_STORAGE for writing out bigger tmp files 2020-05-20 14:17:02 +00:00
common.sh test/vhost: Use basename of the vhost dir passed to vhost_kill 2020-11-18 11:27:16 +00:00
manual.sh Modifications for using universal qcow2 image in tests 2020-10-28 15:07:56 +00:00
vhost.sh test: add packed ring test in blk device 2020-10-16 08:15:51 +00:00