xref: /aosp_15_r20/external/ublksrv/tests/loop/005 (revision 94c4a1e103eb1715230460aab379dff275992c20)
1#!/bin/bash
2# SPDX-License-Identifier: MIT or GPL-2.0-only
3
4. common/fio_common
5. common/loop_common
6
7modprobe -r null_blk
8modprobe null_blk
9file="/dev/nullb0"
10export T_TYPE_PARAMS="-t loop -q 1 -f $file"
11
12# ublk-loop over block device
13__run_dev_perf 1
14
15modprobe -r null_blk
16