1#!/bin/bash 2# SPDX-License-Identifier: GPL-2.0 3 4. common/fio_common 5. common/qcow2_common 6 7echo "run perf test on pre-allocated qcow2 image via nbd" 8 9file=`_create_qcow2_image "data" $QCOW2_IMG_SZ` 10 11export T_TYPE="qemu-nbd" 12export T_TYPE_PARAMS="-c /dev/nbd11 -n --aio=native $file" 13 14__run_nbd_dev_perf 1 15 16_remove_qcow2_image $file 17