xref: /aosp_15_r20/external/ublksrv/tests/qcow2/022 (revision 94c4a1e103eb1715230460aab379dff275992c20)
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 ublk"
8
9file=`_create_qcow2_image "data" $QCOW2_IMG_SZ`
10export T_TYPE_PARAMS="-t qcow2 -q 1 -f $file"
11
12__run_dev_perf 1
13
14_remove_qcow2_image $file
15