Spdk/test/bdev
Michal Berger 367fc7a9cf test/bdev: Refactor nbd_function_test()
This function was a bit cluttered so simplify it. Also, it was
assuming nbd module was loaded into the kernel prior running it -
this could silently fail the nbd_all[@] setup in case it wasn't.
Always attempt to load nbd driver before the setup and fail hard
if the driver is not in place.

Signed-off-by: Michal Berger <michal.berger@intel.com>
Change-Id: I5884973944eae3e827eaafec16ba72e2cb4f70e7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14994
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-10-27 09:06:37 +00:00
..
bdevio test/bdevio: adjust writes to write_unit_size 2022-09-29 22:52:45 +00:00
bdevperf bdevperf: reformat bdevperf output 2022-10-26 07:34:03 +00:00
bdev_raid.sh autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
blockdev.sh test/bdev: Refactor nbd_function_test() 2022-10-27 09:06:37 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
nbd_common.sh lib/nbd:export bdev flush and trim ability 2022-09-16 13:32:13 +00:00
nonarray.json json: fix parsing json problems when json config is invalid. 2022-09-02 07:32:21 +00:00
nonenclosed.json json: fix parsing json problems when json config is invalid. 2022-09-02 07:32:21 +00:00