xref: /qemu/tests/qemu-iotests/024.out (revision 6d00c6f982562222adbd0613966285792125abe5)
1939e1640SKevin WolfQA output created by 024
2939e1640SKevin WolfCreating backing file
3939e1640SKevin Wolf
4f19f1189SFam ZhengFormatting 'TEST_DIR/t.IMGFMT.base_old', fmt=IMGFMT size=1073741824
5939e1640SKevin Wolf=== IO: pattern 0x11
6c34b8012SFam Zhengwrote 65536/65536 bytes at offset 0
7939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
8c34b8012SFam Zhengwrote 65536/65536 bytes at offset 131072
9939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
10c34b8012SFam Zhengwrote 65536/65536 bytes at offset 262144
11939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12c34b8012SFam Zhengwrote 65536/65536 bytes at offset 393216
13939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14c34b8012SFam Zhengwrote 65536/65536 bytes at offset 524288
15d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
16c34b8012SFam Zhengwrote 65536/65536 bytes at offset 655360
17d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
18c34b8012SFam Zhengwrote 65536/65536 bytes at offset 786432
19d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
20c34b8012SFam Zhengwrote 65536/65536 bytes at offset 917504
21d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
22c34b8012SFam ZhengCreating new backing file
23939e1640SKevin Wolf
24f19f1189SFam ZhengFormatting 'TEST_DIR/t.IMGFMT.base_new', fmt=IMGFMT size=1073741824
25939e1640SKevin Wolf=== IO: pattern 0x22
26c34b8012SFam Zhengwrote 131072/131072 bytes at offset 0
27939e1640SKevin Wolf128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28c34b8012SFam Zhengwrote 131072/131072 bytes at offset 262144
29939e1640SKevin Wolf128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
30c34b8012SFam Zhengwrote 131072/131072 bytes at offset 524288
31d586bc63SKevin Wolf128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
32c34b8012SFam Zhengwrote 131072/131072 bytes at offset 786432
33d586bc63SKevin Wolf128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
34c34b8012SFam ZhengCreating COW image
35939e1640SKevin Wolf
36b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 backing_file=TEST_DIR/t.IMGFMT.base_old backing_fmt=IMGFMT
37939e1640SKevin Wolf=== IO: pattern 0x33
38c34b8012SFam Zhengwrote 262144/262144 bytes at offset 0
39939e1640SKevin Wolf256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
40c34b8012SFam Zheng=== IO: pattern 0x33
41c34b8012SFam Zhengwrote 262144/262144 bytes at offset 524288
42d586bc63SKevin Wolf256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
43c34b8012SFam ZhengRead before the rebase to make sure everything is set up correctly
44939e1640SKevin Wolf
45939e1640SKevin Wolf=== IO: pattern 0x33
46c34b8012SFam Zhengread 65536/65536 bytes at offset 0
47939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
48c34b8012SFam Zheng=== IO: pattern 0x33
49c34b8012SFam Zhengread 65536/65536 bytes at offset 65536
50939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
51c34b8012SFam Zheng=== IO: pattern 0x33
52c34b8012SFam Zhengread 65536/65536 bytes at offset 131072
53939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54c34b8012SFam Zheng=== IO: pattern 0x33
55c34b8012SFam Zhengread 65536/65536 bytes at offset 196608
56939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
57c34b8012SFam Zheng=== IO: pattern 0x11
58c34b8012SFam Zhengread 65536/65536 bytes at offset 262144
59939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
60c34b8012SFam Zheng=== IO: pattern 0x00
61c34b8012SFam Zhengread 65536/65536 bytes at offset 327680
62939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
63c34b8012SFam Zheng=== IO: pattern 0x11
64c34b8012SFam Zhengread 65536/65536 bytes at offset 393216
65939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
66c34b8012SFam Zheng=== IO: pattern 0x00
67c34b8012SFam Zhengread 65536/65536 bytes at offset 458752
68939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
69c34b8012SFam Zheng=== IO: pattern 0x33
70c34b8012SFam Zhengread 65536/65536 bytes at offset 524288
71d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
72c34b8012SFam Zheng=== IO: pattern 0x33
73c34b8012SFam Zhengread 65536/65536 bytes at offset 589824
74d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
75c34b8012SFam Zheng=== IO: pattern 0x33
76c34b8012SFam Zhengread 65536/65536 bytes at offset 655360
77d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
78c34b8012SFam Zheng=== IO: pattern 0x33
79c34b8012SFam Zhengread 65536/65536 bytes at offset 720896
80d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
81c34b8012SFam Zheng=== IO: pattern 0x11
82c34b8012SFam Zhengread 65536/65536 bytes at offset 786432
83d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
84c34b8012SFam Zheng=== IO: pattern 0x00
85c34b8012SFam Zhengread 65536/65536 bytes at offset 851968
86d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
87c34b8012SFam Zheng=== IO: pattern 0x11
88c34b8012SFam Zhengread 65536/65536 bytes at offset 917504
89d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
90c34b8012SFam Zheng=== IO: pattern 0x00
91c34b8012SFam Zhengread 65536/65536 bytes at offset 983040
92d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
93c34b8012SFam Zheng
94939e1640SKevin WolfRebase and test again
95939e1640SKevin Wolf
96939e1640SKevin Wolf=== IO: pattern 0x33
97c34b8012SFam Zhengread 65536/65536 bytes at offset 0
98939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
99c34b8012SFam Zheng=== IO: pattern 0x33
100c34b8012SFam Zhengread 65536/65536 bytes at offset 65536
101939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
102c34b8012SFam Zheng=== IO: pattern 0x33
103c34b8012SFam Zhengread 65536/65536 bytes at offset 131072
104939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
105c34b8012SFam Zheng=== IO: pattern 0x33
106c34b8012SFam Zhengread 65536/65536 bytes at offset 196608
107939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
108c34b8012SFam Zheng=== IO: pattern 0x11
109c34b8012SFam Zhengread 65536/65536 bytes at offset 262144
110939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
111c34b8012SFam Zheng=== IO: pattern 0x00
112c34b8012SFam Zhengread 65536/65536 bytes at offset 327680
113939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
114c34b8012SFam Zheng=== IO: pattern 0x11
115c34b8012SFam Zhengread 65536/65536 bytes at offset 393216
116939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
117c34b8012SFam Zheng=== IO: pattern 0x00
118c34b8012SFam Zhengread 65536/65536 bytes at offset 458752
119939e1640SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
120c34b8012SFam Zheng=== IO: pattern 0x33
121c34b8012SFam Zhengread 65536/65536 bytes at offset 524288
122d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
123c34b8012SFam Zheng=== IO: pattern 0x33
124c34b8012SFam Zhengread 65536/65536 bytes at offset 589824
125d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
126c34b8012SFam Zheng=== IO: pattern 0x33
127c34b8012SFam Zhengread 65536/65536 bytes at offset 655360
128d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
129c34b8012SFam Zheng=== IO: pattern 0x33
130c34b8012SFam Zhengread 65536/65536 bytes at offset 720896
131d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
132c34b8012SFam Zheng=== IO: pattern 0x11
133c34b8012SFam Zhengread 65536/65536 bytes at offset 786432
134d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
135c34b8012SFam Zheng=== IO: pattern 0x00
136c34b8012SFam Zhengread 65536/65536 bytes at offset 851968
137d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
138c34b8012SFam Zheng=== IO: pattern 0x11
139c34b8012SFam Zhengread 65536/65536 bytes at offset 917504
140d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
141c34b8012SFam Zheng=== IO: pattern 0x00
142c34b8012SFam Zhengread 65536/65536 bytes at offset 983040
143d586bc63SKevin Wolf64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14428036a7fSMax Reitz
14528036a7fSMax Reitz=== Test rebase in a subdirectory of the working directory ===
14628036a7fSMax Reitz
14728036a7fSMax ReitzFormatting 'TEST_DIR/subdir/t.IMGFMT.base_old', fmt=IMGFMT size=1048576
14828036a7fSMax ReitzFormatting 'TEST_DIR/subdir/t.IMGFMT.base_new', fmt=IMGFMT size=1048576
149b66ff2c2SEric BlakeFormatting 'TEST_DIR/subdir/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=t.IMGFMT.base_old backing_fmt=IMGFMT
15028036a7fSMax Reitz
15128036a7fSMax Reitzwrote 131072/131072 bytes at offset 0
15228036a7fSMax Reitz128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15328036a7fSMax Reitzwrote 65536/65536 bytes at offset 196608
15428036a7fSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15528036a7fSMax Reitzwrote 131072/131072 bytes at offset 65536
15628036a7fSMax Reitz128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15728036a7fSMax Reitzwrote 65536/65536 bytes at offset 196608
15828036a7fSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
15928036a7fSMax Reitz
16028036a7fSMax Reitzbacking file: t.IMGFMT.base_new (actual path: TEST_DIR/subdir/t.IMGFMT.base_new)
16128036a7fSMax Reitz
16228036a7fSMax Reitzread 65536/65536 bytes at offset 0
16328036a7fSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
16428036a7fSMax Reitzread 65536/65536 bytes at offset 65536
16528036a7fSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
16628036a7fSMax Reitzread 65536/65536 bytes at offset 131072
16728036a7fSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
16828036a7fSMax Reitzread 65536/65536 bytes at offset 196608
16928036a7fSMax Reitz64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
17028036a7fSMax Reitz
17128036a7fSMax ReitzOffset          Length          File
17228036a7fSMax Reitz0               0x30000         TEST_DIR/subdir/t.IMGFMT
17328036a7fSMax Reitz0x30000         0x10000         TEST_DIR/subdir/t.IMGFMT.base_new
174827171c3SAndrey Drobyshev
175827171c3SAndrey Drobyshev=== Test rebase within one backing chain ===
176827171c3SAndrey Drobyshev
177827171c3SAndrey DrobyshevCreating backing chain
178827171c3SAndrey Drobyshev
179827171c3SAndrey DrobyshevFormatting 'TEST_DIR/subdir/t.IMGFMT.base_new', fmt=IMGFMT size=327680
180827171c3SAndrey DrobyshevFormatting 'TEST_DIR/subdir/t.IMGFMT.base_old', fmt=IMGFMT size=262144 backing_file=TEST_DIR/subdir/t.IMGFMT.base_new backing_fmt=IMGFMT
181827171c3SAndrey DrobyshevFormatting 'TEST_DIR/subdir/t.IMGFMT', fmt=IMGFMT size=327680 backing_file=TEST_DIR/subdir/t.IMGFMT.base_old backing_fmt=IMGFMT
182827171c3SAndrey Drobyshev
183827171c3SAndrey DrobyshevFill backing files with data
184827171c3SAndrey Drobyshev
185827171c3SAndrey Drobyshevwrote 327680/327680 bytes at offset 0
186827171c3SAndrey Drobyshev320 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
187827171c3SAndrey Drobyshevwrote 262144/262144 bytes at offset 0
188827171c3SAndrey Drobyshev256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
189827171c3SAndrey Drobyshev
190827171c3SAndrey DrobyshevCheck the last cluster is zeroed in overlay before the rebase
191827171c3SAndrey Drobyshev
192827171c3SAndrey Drobyshevread 65536/65536 bytes at offset 262144
193827171c3SAndrey Drobyshev64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
194827171c3SAndrey Drobyshev
195827171c3SAndrey DrobyshevRebase onto another image in the same chain
196827171c3SAndrey Drobyshev
197827171c3SAndrey DrobyshevVerify that data is read the same before and after rebase
198827171c3SAndrey Drobyshev
199827171c3SAndrey Drobyshevread 262144/262144 bytes at offset 0
200827171c3SAndrey Drobyshev256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
201827171c3SAndrey Drobyshevread 65536/65536 bytes at offset 262144
202827171c3SAndrey Drobyshev64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
203827171c3SAndrey Drobyshev
204*f93e65eeSAndrey Drobyshev
205*f93e65eeSAndrey Drobyshev=== Test rebase with different cluster sizes ===
206*f93e65eeSAndrey Drobyshev
207*f93e65eeSAndrey DrobyshevCreating backing chain
208*f93e65eeSAndrey Drobyshev
209*f93e65eeSAndrey DrobyshevFormatting 'TEST_DIR/subdir/t.IMGFMT.base_new', fmt=IMGFMT size=393216
210*f93e65eeSAndrey DrobyshevFormatting 'TEST_DIR/subdir/t.IMGFMT.base_old', fmt=IMGFMT size=393216 backing_file=TEST_DIR/subdir/t.IMGFMT.base_new backing_fmt=IMGFMT
211*f93e65eeSAndrey DrobyshevFormatting 'TEST_DIR/subdir/t.IMGFMT', fmt=IMGFMT size=393216 backing_file=TEST_DIR/subdir/t.IMGFMT.base_old backing_fmt=IMGFMT
212*f93e65eeSAndrey Drobyshevimage: TEST_DIR/subdir/t.IMGFMT
213*f93e65eeSAndrey Drobyshevfile format: IMGFMT
214*f93e65eeSAndrey Drobyshevvirtual size: 384 KiB (393216 bytes)
215*f93e65eeSAndrey Drobyshevcluster_size: 131072
216*f93e65eeSAndrey Drobyshevbacking file: TEST_DIR/subdir/t.IMGFMT.base_old
217*f93e65eeSAndrey Drobyshev
218*f93e65eeSAndrey DrobyshevFill backing files with data
219*f93e65eeSAndrey Drobyshev
220*f93e65eeSAndrey Drobyshevwrote 65536/65536 bytes at offset 65536
221*f93e65eeSAndrey Drobyshev64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
222*f93e65eeSAndrey Drobyshevwrote 65536/65536 bytes at offset 262144
223*f93e65eeSAndrey Drobyshev64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
224*f93e65eeSAndrey Drobyshev
225*f93e65eeSAndrey DrobyshevRebase onto another image in the same chain
226*f93e65eeSAndrey Drobyshev
227*f93e65eeSAndrey DrobyshevVerify that data is read the same before and after rebase
228*f93e65eeSAndrey Drobyshev
229*f93e65eeSAndrey Drobyshevread 65536/65536 bytes at offset 0
230*f93e65eeSAndrey Drobyshev64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
231*f93e65eeSAndrey Drobyshevread 65536/65536 bytes at offset 65536
232*f93e65eeSAndrey Drobyshev64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
233*f93e65eeSAndrey Drobyshevread 131072/131072 bytes at offset 131072
234*f93e65eeSAndrey Drobyshev128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
235*f93e65eeSAndrey Drobyshevread 65536/65536 bytes at offset 262144
236*f93e65eeSAndrey Drobyshev64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
237*f93e65eeSAndrey Drobyshevread 65536/65536 bytes at offset 327680
238*f93e65eeSAndrey Drobyshev64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
239*f93e65eeSAndrey Drobyshev
240*f93e65eeSAndrey DrobyshevVerify that untouched cluster remains unallocated
241*f93e65eeSAndrey Drobyshev
242*f93e65eeSAndrey DrobyshevOffset          Length          File
243*f93e65eeSAndrey Drobyshev0               0x20000         TEST_DIR/subdir/t.IMGFMT
244*f93e65eeSAndrey Drobyshev0x40000         0x20000         TEST_DIR/subdir/t.IMGFMT
245*f93e65eeSAndrey Drobyshev
246c34b8012SFam Zheng*** done
247