1 QA output created by 024
4 Formatting 'TEST_DIR/t.IMGFMT.base_old', fmt=IMGFMT size=1073741824
6 wrote 65536/65536 bytes at offset 0
7 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8 wrote 65536/65536 bytes at offset 131072
9 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
10 wrote 65536/65536 bytes at offset 262144
11 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12 wrote 65536/65536 bytes at offset 393216
13 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14 wrote 65536/65536 bytes at offset 524288
15 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
16 wrote 65536/65536 bytes at offset 655360
17 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
18 wrote 65536/65536 bytes at offset 786432
19 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
20 wrote 65536/65536 bytes at offset 917504
21 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
22 Creating new backing file
24 Formatting 'TEST_DIR/t.IMGFMT.base_new', fmt=IMGFMT size=1073741824
26 wrote 131072/131072 bytes at offset 0
27 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28 wrote 131072/131072 bytes at offset 262144
29 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
30 wrote 131072/131072 bytes at offset 524288
31 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
32 wrote 131072/131072 bytes at offset 786432
33 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
36 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 backing_file=TEST_DIR/t.IMGFMT.base_old backing_fmt=IMGFMT
38 wrote 262144/262144 bytes at offset 0
39 256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
41 wrote 262144/262144 bytes at offset 524288
42 256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
43 Read before the rebase to make sure everything is set up correctly
46 read 65536/65536 bytes at offset 0
47 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
49 read 65536/65536 bytes at offset 65536
50 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
52 read 65536/65536 bytes at offset 131072
53 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
55 read 65536/65536 bytes at offset 196608
56 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
58 read 65536/65536 bytes at offset 262144
59 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
61 read 65536/65536 bytes at offset 327680
62 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
64 read 65536/65536 bytes at offset 393216
65 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
67 read 65536/65536 bytes at offset 458752
68 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
70 read 65536/65536 bytes at offset 524288
71 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
73 read 65536/65536 bytes at offset 589824
74 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
76 read 65536/65536 bytes at offset 655360
77 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
79 read 65536/65536 bytes at offset 720896
80 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
82 read 65536/65536 bytes at offset 786432
83 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
85 read 65536/65536 bytes at offset 851968
86 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
88 read 65536/65536 bytes at offset 917504
89 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
91 read 65536/65536 bytes at offset 983040
92 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
97 read 65536/65536 bytes at offset 0
98 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
100 read 65536/65536 bytes at offset 65536
101 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
103 read 65536/65536 bytes at offset 131072
104 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
106 read 65536/65536 bytes at offset 196608
107 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
109 read 65536/65536 bytes at offset 262144
110 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
112 read 65536/65536 bytes at offset 327680
113 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
115 read 65536/65536 bytes at offset 393216
116 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
118 read 65536/65536 bytes at offset 458752
119 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
121 read 65536/65536 bytes at offset 524288
122 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
124 read 65536/65536 bytes at offset 589824
125 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
127 read 65536/65536 bytes at offset 655360
128 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
130 read 65536/65536 bytes at offset 720896
131 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
133 read 65536/65536 bytes at offset 786432
134 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
136 read 65536/65536 bytes at offset 851968
137 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
139 read 65536/65536 bytes at offset 917504
140 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
142 read 65536/65536 bytes at offset 983040
143 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
145 === Test rebase in a subdirectory of the working directory ===
147 Formatting 'TEST_DIR/subdir/t.IMGFMT.base_old', fmt=IMGFMT size=1048576
148 Formatting 'TEST_DIR/subdir/t.IMGFMT.base_new', fmt=IMGFMT size=1048576
149 Formatting 'TEST_DIR/subdir/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=t.IMGFMT.base_old backing_fmt=IMGFMT
151 wrote 131072/131072 bytes at offset 0
152 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
153 wrote 65536/65536 bytes at offset 196608
154 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
155 wrote 131072/131072 bytes at offset 65536
156 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
157 wrote 65536/65536 bytes at offset 196608
158 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
160 backing file: t.IMGFMT.base_new (actual path: TEST_DIR/subdir/t.IMGFMT.base_new)
162 read 65536/65536 bytes at offset 0
163 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
164 read 65536/65536 bytes at offset 65536
165 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
166 read 65536/65536 bytes at offset 131072
167 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
168 read 65536/65536 bytes at offset 196608
169 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
172 0 0x30000 TEST_DIR/subdir/t.IMGFMT
173 0x30000 0x10000 TEST_DIR/subdir/t.IMGFMT.base_new
175 === Test rebase within one backing chain ===
177 Creating backing chain
179 Formatting 'TEST_DIR/subdir/t.IMGFMT.base_new', fmt=IMGFMT size=327680
180 Formatting 'TEST_DIR/subdir/t.IMGFMT.base_old', fmt=IMGFMT size=262144 backing_file=TEST_DIR/subdir/t.IMGFMT.base_new backing_fmt=IMGFMT
181 Formatting 'TEST_DIR/subdir/t.IMGFMT', fmt=IMGFMT size=327680 backing_file=TEST_DIR/subdir/t.IMGFMT.base_old backing_fmt=IMGFMT
183 Fill backing files with data
185 wrote 327680/327680 bytes at offset 0
186 320 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
187 wrote 262144/262144 bytes at offset 0
188 256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
190 Check the last cluster is zeroed in overlay before the rebase
192 read 65536/65536 bytes at offset 262144
193 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
195 Rebase onto another image in the same chain
197 Verify that data is read the same before and after rebase
199 read 262144/262144 bytes at offset 0
200 256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
201 read 65536/65536 bytes at offset 262144
202 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
205 === Test rebase with different cluster sizes ===
207 Creating backing chain
209 Formatting 'TEST_DIR/subdir/t.IMGFMT.base_new', fmt=IMGFMT size=393216
210 Formatting 'TEST_DIR/subdir/t.IMGFMT.base_old', fmt=IMGFMT size=393216 backing_file=TEST_DIR/subdir/t.IMGFMT.base_new backing_fmt=IMGFMT
211 Formatting 'TEST_DIR/subdir/t.IMGFMT', fmt=IMGFMT size=393216 backing_file=TEST_DIR/subdir/t.IMGFMT.base_old backing_fmt=IMGFMT
212 image: TEST_DIR/subdir/t.IMGFMT
214 virtual size: 384 KiB (393216 bytes)
216 backing file: TEST_DIR/subdir/t.IMGFMT.base_old
217 backing file format: IMGFMT
219 Fill backing files with data
221 wrote 65536/65536 bytes at offset 65536
222 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
223 wrote 65536/65536 bytes at offset 262144
224 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
226 Rebase onto another image in the same chain
228 Verify that data is read the same before and after rebase
230 read 65536/65536 bytes at offset 0
231 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
232 read 65536/65536 bytes at offset 65536
233 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
234 read 131072/131072 bytes at offset 131072
235 128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
236 read 65536/65536 bytes at offset 262144
237 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
238 read 65536/65536 bytes at offset 327680
239 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
241 Verify that untouched cluster remains unallocated
244 0 0x20000 TEST_DIR/subdir/t.IMGFMT
245 0x40000 0x20000 TEST_DIR/subdir/t.IMGFMT