1*184581faSAlberto GarciaQA output created by 305 2*184581faSAlberto Garcia### Create the image 3*184581faSAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 4*184581faSAlberto Garcia### Fill the first refcount block and one data cluster from the second 5*184581faSAlberto Garciawrote 126976/126976 bytes at offset 0 6*184581faSAlberto Garcia124 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 7*184581faSAlberto Garcia### Discard two of the last data clusters, leave one in the middle 8*184581faSAlberto Garciadiscard 1024/1024 bytes at offset 123904 9*184581faSAlberto Garcia1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 10*184581faSAlberto Garciadiscard 1024/1024 bytes at offset 125952 11*184581faSAlberto Garcia1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 12*184581faSAlberto Garcia### Corrupt the offset of the second refcount block 13*184581faSAlberto Garcia### Try to allocate the discarded clusters again 14*184581faSAlberto Garciaqcow2: Marking image as corrupt: Refblock offset 0x20600 unaligned (reftable index: 0x1); further corruption events will be suppressed 15*184581faSAlberto Garciawrite failed: Input/output error 16*184581faSAlberto Garcia*** done 17