summaryrefslogtreecommitdiff
path: root/tests/fio.ktest
blob: a30e583c658e02f9c8fa5d04655e787ed30a063a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

require-lib test-libs.sh

config-scratch-devs 1G

config-timeout 7200

test_buffered_reads()
{
    blockdev --setra 0 /dev/sdb
    fio --eta=always				\
	--exitall_on_error=1			\
	--randrepeat=0				\
	--ioengine=libaio			\
	--iodepth=64				\
	--iodepth_batch=16			\
	--numjobs=1				\
	--size=1G				\
	--filename=/mnt/sdb			\
	--name=randread				\
	--rw=randread
}