1#################################################
2# Hardcode defragmentation patterns
3# Please be careful, it can trigger kernel panic
4#################################################
5[global]
6ioengine=e4defrag
7group_reporting
8directory=/scratch
9nrfiles=1
10filesize=100M
11size=100M
12donorname=file.def
13bs=32k
14
15###########
16# Run several defragmentation threads for different files, but
17# use shared donor file
18[parallel-e4defrag]
19buffered=0
20inplace=0
21rw=write
22numjobs=4
23
24########
25# Run two defragmentation threads, each thread use another's file
26# as donor file
27
28[e4defrag-1]
29stonewall
30inplace=0
31rw=write
32donorname=e4defrag-2
33
34[e4defrag-2]
35inplace=0
36rw=write
37donorname=e4defrag-1
38
39###########
40# Run random defragment activity
41[e4defrag-fuzzer-4k]
42stonewall
43inplace=1
44bs=4k
45rw=randwrite
46filename=file
47donorname=file.def
48
49########
50# Run random e4defrag and various aio workers in parallel
51[e4defrag-fuzzer-4k]
52stonewall
53continue_on_error=all
54inplace=1
55bs=4k
56donorname=file3.def
57filename=file3
58time_based=30
59rw=randwrite
60
61[buffered-aio-32k]
62continue_on_error=none
63verify=md5
64buffered=1
65ioengine=libaio
66iodepth=128
67bs=32k
68filename=file3
69rw=randrw
70runtime=30
71time_based=30
72numjobs=4
73
74[direct-aio-32k]
75continue_on_error=none
76verify=md5
77buffered=0
78direct=1
79ioengine=libaio
80iodepth=128
81bs=32k
82filename=file3
83rw=randrw
84runtime=30
85time_based=30
86numjobs=4
87
88
89