2 wrote 2097152/2097152 bytes at offset 0
3 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
5 === Check visible data ===
6 read 1048576/1048576 bytes at offset 0
7 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
9 read 1048576/1048576 bytes at offset 1048576
10 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12 === Checking allocation status ===
13 1048576/1048576 bytes allocated at offset 0 bytes
14 1048576/1048576 bytes allocated at offset 1 MiB
16 0/1048576 bytes allocated at offset 0 bytes
17 0/0 bytes allocated at offset 1 MiB
19 0/1048576 bytes allocated at offset 0 bytes
20 0/1048576 bytes allocated at offset 1 MiB
23 [{ "start": 0, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "offset": 327680}]
25 Offset Length Mapped to File
26 0 0x200000 0x50000 TEST_DIR/PID-base
28 [{ "start": 0, "length": 1048576, "depth": 1, "present": true, "zero": false, "data": true, "offset": 327680}]
30 Offset Length Mapped to File
31 0 0x100000 0x50000 TEST_DIR/PID-base
33 [{ "start": 0, "length": 1048576, "depth": 2, "present": true, "zero": false, "data": true, "offset": 327680},
34 { "start": 1048576, "length": 1048576, "depth": 0, "present": false, "zero": true, "data": false}]
36 Offset Length Mapped to File
37 0 0x100000 0x50000 TEST_DIR/PID-base
39 === Testing qemu-img commit (top -> mid) ===
44 virtual size: 2 MiB (2097152 bytes)
46 backing file: TEST_DIR/PID-base
47 backing file format: IMGFMT
48 Format specific information:
50 compression type: COMPRESSION_TYPE
56 read 1048576/1048576 bytes at offset 0
57 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
59 read 1048576/1048576 bytes at offset 1048576
60 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62 === Testing HMP commit (top -> mid) ===
63 wrote 2097152/2097152 bytes at offset 0
64 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
66 {"execute": "human-monitor-command", "arguments": {"command-line": "commit drive0"}}
70 virtual size: 2 MiB (2097152 bytes)
72 backing file: TEST_DIR/PID-base
73 backing file format: IMGFMT
74 Format specific information:
76 compression type: COMPRESSION_TYPE
82 read 1048576/1048576 bytes at offset 0
83 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
85 read 1048576/1048576 bytes at offset 1048576
86 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
88 === Testing QMP active commit (top -> mid) ===
89 wrote 2097152/2097152 bytes at offset 0
90 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
92 {"execute": "block-commit", "arguments": {"auto-dismiss": false, "base-node": "mid", "device": "top", "job-id": "job0"}}
94 {"execute": "job-complete", "arguments": {"id": "job0"}}
96 {"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_READY", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
97 {"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
98 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
102 virtual size: 2 MiB (2097152 bytes)
104 backing file: TEST_DIR/PID-base
105 backing file format: IMGFMT
106 Format specific information:
108 compression type: COMPRESSION_TYPE
109 lazy refcounts: false
114 read 1048576/1048576 bytes at offset 0
115 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
117 read 1048576/1048576 bytes at offset 1048576
118 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
120 === Testing qemu-img commit (top -> base) ===
121 wrote 2097152/2097152 bytes at offset 0
122 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
128 virtual size: 2 MiB (2097152 bytes)
130 Format specific information:
132 compression type: COMPRESSION_TYPE
133 lazy refcounts: false
138 read 1048576/1048576 bytes at offset 0
139 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
141 read 1048576/1048576 bytes at offset 1048576
142 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
144 === Testing QMP active commit (top -> base) ===
145 wrote 2097152/2097152 bytes at offset 0
146 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
148 {"execute": "block-commit", "arguments": {"auto-dismiss": false, "base-node": "base", "device": "top", "job-id": "job0"}}
150 {"execute": "job-complete", "arguments": {"id": "job0"}}
152 {"data": {"device": "job0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_READY", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
153 {"data": {"device": "job0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
154 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
158 virtual size: 1 MiB (1048576 bytes)
160 backing file: TEST_DIR/PID-base
161 backing file format: IMGFMT
162 Format specific information:
164 compression type: COMPRESSION_TYPE
165 lazy refcounts: false
170 read 1048576/1048576 bytes at offset 0
171 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
173 read 1048576/1048576 bytes at offset 1048576
174 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
177 === preallocation=off ===
178 wrote 65536/65536 bytes at offset 5368709120
179 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
183 read 65536/65536 bytes at offset 5368709120
184 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
186 1 GiB (0x40000000) bytes not allocated at offset 0 bytes (0x0)
187 7 GiB (0x1c0000000) bytes allocated at offset 1 GiB (0x40000000)
189 [{ "start": 0, "length": 1073741824, "depth": 1, "present": false, "zero": true, "data": false},
190 { "start": 1073741824, "length": 7516192768, "depth": 0, "present": true, "zero": true, "data": false}]
192 === preallocation=metadata ===
193 wrote 65536/65536 bytes at offset 33285996544
194 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
198 read 65536/65536 bytes at offset 33285996544
199 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
201 30 GiB (0x780000000) bytes not allocated at offset 0 bytes (0x0)
202 3 GiB (0xc0000000) bytes allocated at offset 30 GiB (0x780000000)
204 [{ "start": 0, "length": 32212254720, "depth": 1, "present": false, "zero": true, "data": false},
205 { "start": 32212254720, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "offset": 327680},
206 { "start": 32749125632, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "offset": 537264128},
207 { "start": 33285996544, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "offset": 1074200576},
208 { "start": 33822867456, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "offset": 1611137024},
209 { "start": 34359738368, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "offset": 2148139008},
210 { "start": 34896609280, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "offset": 2685075456}]
212 === preallocation=falloc ===
213 wrote 65536/65536 bytes at offset 9437184
214 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218 read 65536/65536 bytes at offset 9437184
219 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
221 5 MiB (0x500000) bytes not allocated at offset 0 bytes (0x0)
222 10 MiB (0xa00000) bytes allocated at offset 5 MiB (0x500000)
224 [{ "start": 0, "length": 5242880, "depth": 1, "present": false, "zero": true, "data": false},
225 { "start": 5242880, "length": 10485760, "depth": 0, "present": true, "zero": false, "data": true, "offset": 327680}]
227 === preallocation=full ===
228 wrote 65536/65536 bytes at offset 11534336
229 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
233 read 65536/65536 bytes at offset 11534336
234 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
236 8 MiB (0x800000) bytes not allocated at offset 0 bytes (0x0)
237 4 MiB (0x400000) bytes allocated at offset 8 MiB (0x800000)
239 [{ "start": 0, "length": 8388608, "depth": 1, "present": false, "zero": true, "data": false},
240 { "start": 8388608, "length": 4194304, "depth": 0, "present": true, "zero": false, "data": true, "offset": 327680}]
242 === preallocation=off ===
243 wrote 65536/65536 bytes at offset 259072
244 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
248 read 65536/65536 bytes at offset 259072
249 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
251 192 KiB (0x30000) bytes not allocated at offset 0 bytes (0x0)
252 320 KiB (0x50000) bytes allocated at offset 192 KiB (0x30000)
254 [{ "start": 0, "length": 196608, "depth": 1, "present": false, "zero": true, "data": false},
255 { "start": 196608, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "offset": 327680},
256 { "start": 262144, "length": 262144, "depth": 0, "present": true, "zero": true, "data": false}]
258 === preallocation=off ===
259 wrote 65536/65536 bytes at offset 344064
260 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
264 read 65536/65536 bytes at offset 344064
265 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
267 256 KiB (0x40000) bytes not allocated at offset 0 bytes (0x0)
268 256 KiB (0x40000) bytes allocated at offset 256 KiB (0x40000)
270 [{ "start": 0, "length": 262144, "depth": 1, "present": false, "zero": true, "data": false},
271 { "start": 262144, "length": 262144, "depth": 0, "present": true, "zero": true, "data": false}]
273 === preallocation=off ===
274 wrote 65536/65536 bytes at offset 446464
275 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
279 read 65536/65536 bytes at offset 446464
280 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
282 256 KiB (0x40000) bytes not allocated at offset 0 bytes (0x0)
283 244 KiB (0x3d000) bytes allocated at offset 256 KiB (0x40000)
285 [{ "start": 0, "length": 262144, "depth": 1, "present": false, "zero": true, "data": false},
286 { "start": 262144, "length": 249856, "depth": 0, "present": true, "zero": true, "data": false}]