1QA output created by write-zeroes-unmap 2 3=== defaults - write zeros === 4 5Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 6QEMU X.Y.Z monitor - type 'help' for more information 7(qemu) qemu-io none0 "write -z 0 1m" 8wrote 1048576/1048576 bytes at offset 0 91 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 10(qemu) quit 111.0M TEST_DIR/t.raw 12 13=== defaults - write zeros unmap === 14 15Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 16QEMU X.Y.Z monitor - type 'help' for more information 17(qemu) qemu-io none0 "write -zu 0 1m" 18wrote 1048576/1048576 bytes at offset 0 191 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 20(qemu) quit 211.0M TEST_DIR/t.raw 22 23=== defaults - write actual zeros === 24 25Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 26QEMU X.Y.Z monitor - type 'help' for more information 27(qemu) qemu-io none0 "write -P 0 0 1m" 28wrote 1048576/1048576 bytes at offset 0 291 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 30(qemu) quit 311.0M TEST_DIR/t.raw 32 33=== discard=off - write zeroes unmap === 34 35Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 36QEMU X.Y.Z monitor - type 'help' for more information 37(qemu) qemu-io none0 "write -zu 0 1m" 38wrote 1048576/1048576 bytes at offset 0 391 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 40(qemu) quit 411.0M TEST_DIR/t.raw 42 43=== detect-zeroes=on - write actual zeros === 44 45Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 46QEMU X.Y.Z monitor - type 'help' for more information 47(qemu) qemu-io none0 "write -P 0 0 1m" 48wrote 1048576/1048576 bytes at offset 0 491 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 50(qemu) quit 511.0M TEST_DIR/t.raw 52 53=== detect-zeroes=on,discard=on - write actual zeros === 54 55Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 56QEMU X.Y.Z monitor - type 'help' for more information 57(qemu) qemu-io none0 "write -P 0 0 1m" 58wrote 1048576/1048576 bytes at offset 0 591 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 60(qemu) quit 611.0M TEST_DIR/t.raw 62 63=== discard=on - write zeroes === 64 65Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 66QEMU X.Y.Z monitor - type 'help' for more information 67(qemu) qemu-io none0 "write -z 0 1m" 68wrote 1048576/1048576 bytes at offset 0 691 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 70(qemu) quit 711.0M TEST_DIR/t.raw 72 73=== discard=on - write zeroes unmap === 74 75Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 76QEMU X.Y.Z monitor - type 'help' for more information 77(qemu) qemu-io none0 "write -zu 0 1m" 78wrote 1048576/1048576 bytes at offset 0 791 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 80(qemu) quit 810 TEST_DIR/t.raw 82