iotests: Repairing error during snapshot deletion

This adds a test for an I/O error during snapshot deletion, and maybe
more importantly, for how to repair the resulting image.  If the
snapshot has been deleted before the error occurs, the only negative
result will be leaked clusters -- and those should be repairable with
qemu-img check -r leaks.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20180509200059.31125-3-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
Max Reitz 2018-05-09 22:00:59 +02:00
parent 3cce51c919
commit b41ad73a3b
3 changed files with 133 additions and 0 deletions

View file

@ -215,5 +215,6 @@
214 rw auto
215 rw auto quick
216 rw auto quick
217 rw auto quick
218 rw auto quick
219 rw auto