iotests/124: Add cluster_size mismatch test
commitcc199b16cf4cb9279aca73f5f5dce2cc337b9079
authorJohn Snow <jsnow@redhat.com>
Thu, 25 Feb 2016 20:58:31 +0000 (25 15:58 -0500)
committerJeff Cody <jcody@redhat.com>
Mon, 29 Feb 2016 19:55:14 +0000 (29 14:55 -0500)
treea6b37493ec24e86cefea3b45a0e844de049e51b9
parent4c9bca7e39a6e07ad02c1dcde3478363344ec60b
iotests/124: Add cluster_size mismatch test

If a backing file isn't specified in the target image and the
cluster_size is larger than the bitmap granularity, we run the risk of
creating bitmaps with allocated clusters but empty/no data which will
prevent the proper reading of the backup in the future.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1456433911-24718-4-git-send-email-jsnow@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
tests/qemu-iotests/124
tests/qemu-iotests/124.out