d1319b077a
This fixes the bug introduced by commit c6ac36e
(vmdk: Optimize cluster
allocation).
$ ~/build/master/qemu-io /stor/vm/arch.vmdk -c 'write 2G 1k'
write failed: Invalid argument
Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1411437381-11234-1-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
22 lines
585 B
Plaintext
22 lines
585 B
Plaintext
QA output created by 105
|
|
|
|
creating large image
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=17592186044416
|
|
|
|
small read
|
|
read 4096/4096 bytes at offset 1024
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
small write
|
|
wrote 4096/4096 bytes at offset 8192
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
small read at high offset
|
|
read 4096/4096 bytes at offset 15393162788864
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
small write at high offset
|
|
wrote 4096/4096 bytes at offset 15393162788864
|
|
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
*** done
|