1#!/bin/bash 2# SPDX-License-Identifier: MIT or GPL-2.0 3 4. common/fio_common 5. common/nbd_common 6 7echo "run perf test via ublk-nbd(queues: 2, jobs: 2, nbd server: $NBDSRV:nbdkit memory $NBD_SIZE)" 8 9file=`_create_image "nbd" "none" $NBD_SIZE` 10 11export T_TYPE_PARAMS="-t nbd -q 2 -d 127 --host $NBDSRV" 12__run_dev_perf 2 13 14_remove_image "nbd" $file 15