[pve-devel] [PATCH 23/31] PVE: savevm-async: kick AIO wait on block state write
Dietmar Maurer
dietmar at proxmox.com
Fri Mar 6 12:30:03 CET 2020
From: Thomas Lamprecht <t.lamprecht at proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
savevm-async.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/savevm-async.c b/savevm-async.c
index 5a20009b9a..e4bb0d24b2 100644
--- a/savevm-async.c
+++ b/savevm-async.c
@@ -157,6 +157,7 @@ static void coroutine_fn block_state_write_entry(void *opaque) {
BlkRwCo *rwco = opaque;
rwco->ret = blk_co_pwritev(snap_state.target, rwco->offset, rwco->qiov->size,
rwco->qiov, 0);
+ aio_wait_kick();
}
static ssize_t block_state_writev_buffer(void *opaque, struct iovec *iov,
--
2.20.1
More information about the pve-devel
mailing list