]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests/graph-changes-while-io: add test case with removal of lower snapshot
authorAndrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Fri, 30 May 2025 15:10:58 +0000 (17:10 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 4 Jun 2025 16:16:34 +0000 (18:16 +0200)
commit09d98a018e1fd2db0bb73bbe9b4a7110c8ae354f
treebd769e770e1546acf5a3b01d82f5a3158c7f6b2b
parented8c62927e8facebb1e41b417daee3109e398712
iotests/graph-changes-while-io: add test case with removal of lower snapshot

This case is catching potential deadlock which takes place when job-dismiss
is issued when I/O requests are processed in a separate iothread.

See https://mail.gnu.org/archive/html/qemu-devel/2025-04/msg04421.html

Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
[FE: re-use top image and rename snap1->mid as suggested by Kevin Wolf
     remove image file after test as suggested by Kevin Wolf
     add type annotation for function argument to make mypy happy]
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20250530151125.955508-22-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/tests/graph-changes-while-io
tests/qemu-iotests/tests/graph-changes-while-io.out