]>
Commit | Line | Data |
---|---|---|
dc68afe0 SH |
1 | QA output created by 039 |
2 | ||
3 | == Checking that image is clean on shutdown == | |
7486458c | 4 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 |
dc68afe0 SH |
5 | wrote 512/512 bytes at offset 0 |
6 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
7 | incompatible_features 0x0 | |
8 | No errors were found on the image. | |
9 | ||
10 | == Creating a dirty image file == | |
7486458c | 11 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 |
dc68afe0 SH |
12 | wrote 512/512 bytes at offset 0 |
13 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
036d8cbf | 14 | ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) |
dc68afe0 | 15 | incompatible_features 0x1 |
dc68afe0 | 16 | ERROR cluster 5 refcount=0 reference=1 |
b3f3a30f | 17 | ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0 |
dc68afe0 SH |
18 | |
19 | 2 errors were found on the image. | |
20 | Data may be corrupted, or further writes to the image may corrupt it. | |
21 | ||
22 | == Read-only access must still work == | |
23 | read 512/512 bytes at offset 0 | |
24 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
25 | incompatible_features 0x1 | |
26 | ||
27 | == Repairing the image file must succeed == | |
d26e6ec0 HR |
28 | ERROR cluster 5 refcount=0 reference=1 |
29 | Rebuilding refcount structure | |
30 | Repairing cluster 1 refcount=1 reference=0 | |
31 | Repairing cluster 2 refcount=1 reference=0 | |
058f8f16 SH |
32 | The following inconsistencies were found and repaired: |
33 | ||
34 | 0 leaked clusters | |
35 | 1 corruptions | |
36 | ||
37 | Double checking the fixed image now... | |
dc68afe0 SH |
38 | No errors were found on the image. |
39 | incompatible_features 0x0 | |
40 | ||
41 | == Data should still be accessible after repair == | |
42 | read 512/512 bytes at offset 0 | |
43 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
44 | ||
45 | == Opening a dirty image read/write should repair it == | |
7486458c | 46 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 |
dc68afe0 SH |
47 | wrote 512/512 bytes at offset 0 |
48 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
036d8cbf | 49 | ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) |
dc68afe0 | 50 | incompatible_features 0x1 |
d26e6ec0 HR |
51 | ERROR cluster 5 refcount=0 reference=1 |
52 | Rebuilding refcount structure | |
53 | Repairing cluster 1 refcount=1 reference=0 | |
54 | Repairing cluster 2 refcount=1 reference=0 | |
dc68afe0 SH |
55 | wrote 512/512 bytes at offset 0 |
56 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
57 | incompatible_features 0x0 | |
58 | ||
59 | == Creating an image file with lazy_refcounts=off == | |
7486458c | 60 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 |
dc68afe0 SH |
61 | wrote 512/512 bytes at offset 0 |
62 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
036d8cbf | 63 | ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) |
dc68afe0 SH |
64 | incompatible_features 0x0 |
65 | No errors were found on the image. | |
4c2e5f8f KW |
66 | |
67 | == Committing to a backing file with lazy_refcounts=on == | |
7486458c | 68 | Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=134217728 |
fe646693 | 69 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base |
4c2e5f8f KW |
70 | wrote 512/512 bytes at offset 0 |
71 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
72 | Image committed. | |
73 | incompatible_features 0x0 | |
74 | incompatible_features 0x0 | |
75 | No errors were found on the image. | |
76 | No errors were found on the image. | |
e615053b KW |
77 | |
78 | == Changing lazy_refcounts setting at runtime == | |
79 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 | |
80 | wrote 512/512 bytes at offset 0 | |
81 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
036d8cbf | 82 | ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) |
e615053b KW |
83 | incompatible_features 0x1 |
84 | ERROR cluster 5 refcount=0 reference=1 | |
85 | ERROR OFLAG_COPIED data cluster: l2_entry=8000000000050000 refcount=0 | |
86 | ||
87 | 2 errors were found on the image. | |
88 | Data may be corrupted, or further writes to the image may corrupt it. | |
89 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 | |
90 | wrote 512/512 bytes at offset 0 | |
91 | 512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
036d8cbf | 92 | ./common.rc: Killed ( VALGRIND_QEMU="${VALGRIND_QEMU_IO}" _qemu_proc_exec "${VALGRIND_LOGFILE}" "$QEMU_IO_PROG" $QEMU_IO_ARGS "$@" ) |
e615053b KW |
93 | incompatible_features 0x0 |
94 | No errors were found on the image. | |
dc68afe0 | 95 | *** done |