1*d05ae948SNir SofferQA output created by write-zeroes-unmap 2*d05ae948SNir Soffer 3*d05ae948SNir Soffer=== defaults - write zeros === 4*d05ae948SNir Soffer 5*d05ae948SNir SofferFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 6*d05ae948SNir SofferQEMU X.Y.Z monitor - type 'help' for more information 7*d05ae948SNir Soffer(qemu) qemu-io none0 "write -z 0 1m" 8*d05ae948SNir Sofferwrote 1048576/1048576 bytes at offset 0 9*d05ae948SNir Soffer1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 10*d05ae948SNir Soffer(qemu) quit 11*d05ae948SNir Soffer1.0M TEST_DIR/t.raw 12*d05ae948SNir Soffer 13*d05ae948SNir Soffer=== defaults - write zeros unmap === 14*d05ae948SNir Soffer 15*d05ae948SNir SofferFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 16*d05ae948SNir SofferQEMU X.Y.Z monitor - type 'help' for more information 17*d05ae948SNir Soffer(qemu) qemu-io none0 "write -zu 0 1m" 18*d05ae948SNir Sofferwrote 1048576/1048576 bytes at offset 0 19*d05ae948SNir Soffer1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 20*d05ae948SNir Soffer(qemu) quit 21*d05ae948SNir Soffer1.0M TEST_DIR/t.raw 22*d05ae948SNir Soffer 23*d05ae948SNir Soffer=== defaults - write actual zeros === 24*d05ae948SNir Soffer 25*d05ae948SNir SofferFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 26*d05ae948SNir SofferQEMU X.Y.Z monitor - type 'help' for more information 27*d05ae948SNir Soffer(qemu) qemu-io none0 "write -P 0 0 1m" 28*d05ae948SNir Sofferwrote 1048576/1048576 bytes at offset 0 29*d05ae948SNir Soffer1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 30*d05ae948SNir Soffer(qemu) quit 31*d05ae948SNir Soffer1.0M TEST_DIR/t.raw 32*d05ae948SNir Soffer 33*d05ae948SNir Soffer=== discard=off - write zeroes unmap === 34*d05ae948SNir Soffer 35*d05ae948SNir SofferFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 36*d05ae948SNir SofferQEMU X.Y.Z monitor - type 'help' for more information 37*d05ae948SNir Soffer(qemu) qemu-io none0 "write -zu 0 1m" 38*d05ae948SNir Sofferwrote 1048576/1048576 bytes at offset 0 39*d05ae948SNir Soffer1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 40*d05ae948SNir Soffer(qemu) quit 41*d05ae948SNir Soffer1.0M TEST_DIR/t.raw 42*d05ae948SNir Soffer 43*d05ae948SNir Soffer=== detect-zeroes=on - write actual zeros === 44*d05ae948SNir Soffer 45*d05ae948SNir SofferFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 46*d05ae948SNir SofferQEMU X.Y.Z monitor - type 'help' for more information 47*d05ae948SNir Soffer(qemu) qemu-io none0 "write -P 0 0 1m" 48*d05ae948SNir Sofferwrote 1048576/1048576 bytes at offset 0 49*d05ae948SNir Soffer1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 50*d05ae948SNir Soffer(qemu) quit 51*d05ae948SNir Soffer1.0M TEST_DIR/t.raw 52*d05ae948SNir Soffer 53*d05ae948SNir Soffer=== detect-zeroes=on,discard=on - write actual zeros === 54*d05ae948SNir Soffer 55*d05ae948SNir SofferFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 56*d05ae948SNir SofferQEMU X.Y.Z monitor - type 'help' for more information 57*d05ae948SNir Soffer(qemu) qemu-io none0 "write -P 0 0 1m" 58*d05ae948SNir Sofferwrote 1048576/1048576 bytes at offset 0 59*d05ae948SNir Soffer1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 60*d05ae948SNir Soffer(qemu) quit 61*d05ae948SNir Soffer1.0M TEST_DIR/t.raw 62*d05ae948SNir Soffer 63*d05ae948SNir Soffer=== discard=on - write zeroes === 64*d05ae948SNir Soffer 65*d05ae948SNir SofferFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 66*d05ae948SNir SofferQEMU X.Y.Z monitor - type 'help' for more information 67*d05ae948SNir Soffer(qemu) qemu-io none0 "write -z 0 1m" 68*d05ae948SNir Sofferwrote 1048576/1048576 bytes at offset 0 69*d05ae948SNir Soffer1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 70*d05ae948SNir Soffer(qemu) quit 71*d05ae948SNir Soffer1.0M TEST_DIR/t.raw 72*d05ae948SNir Soffer 73*d05ae948SNir Soffer=== discard=on - write zeroes unmap === 74*d05ae948SNir Soffer 75*d05ae948SNir SofferFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 76*d05ae948SNir SofferQEMU X.Y.Z monitor - type 'help' for more information 77*d05ae948SNir Soffer(qemu) qemu-io none0 "write -zu 0 1m" 78*d05ae948SNir Sofferwrote 1048576/1048576 bytes at offset 0 79*d05ae948SNir Soffer1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 80*d05ae948SNir Soffer(qemu) quit 81*d05ae948SNir Soffer0 TEST_DIR/t.raw 82