diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2023-03-09 14:08:53 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-04-25 13:17:28 +0200 |
commit | 263d5e12c30fa0e6916494ea5f7afc2ab129c06f (patch) | |
tree | ae5dadcb4d5f1af86bf685e48621bacd88ffd735 /tests | |
parent | d805d8a2c70d73fc5a1f29b70296e74a012e865b (diff) | |
download | qemu-263d5e12c30fa0e6916494ea5f7afc2ab129c06f.zip qemu-263d5e12c30fa0e6916494ea5f7afc2ab129c06f.tar.gz qemu-263d5e12c30fa0e6916494ea5f7afc2ab129c06f.tar.bz2 |
block: convert bdrv_drain_all_begin() to AIO_WAIT_WHILE_UNLOCKED()
Since the AioContext argument was already NULL, AIO_WAIT_WHILE() was
never going to unlock the AioContext. Therefore it is possible to
replace AIO_WAIT_WHILE() with AIO_WAIT_WHILE_UNLOCKED().
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20230309190855.414275-5-stefanha@redhat.com>
Reviewed-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions