diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2010-10-15 07:55:52 -0700 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-02-22 16:17:03 +0100 |
commit | 89d22bc30629f6b89ed7fcbe4c7c6a6d1a9fd626 (patch) | |
tree | d59f2d6e2d96263562df6605244cc4588b5a8e97 /tests/qemu-iotests/group | |
parent | 2547caa16964e3082efdd25e50120c0a35ef5252 (diff) |
qemu-iotests: add sub-cluster allocating write test for sparse image formats
Image formats that grow the image file on demand and are organized into
clusters must handle sub-cluster allocating writes. Such writes touch
a portion of a previously unallocated data cluster. After the image
file is grown with the written data, reads of that cluster should work
as expected:
1. Sectors before the written region are zero.
2. The written region is present and the data is uncorrupted.
3. Sectors after the written region are zero.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tests/qemu-iotests/group')
-rw-r--r-- | tests/qemu-iotests/group | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group index 44581a95e9..4c8c4198e4 100644 --- a/tests/qemu-iotests/group +++ b/tests/qemu-iotests/group @@ -33,3 +33,4 @@ 024 rw backing auto 025 rw auto 026 rw blkdbg auto +027 rw auto |