]> Git Repo - qemu.git/commitdiff
block: add missing call to bdrv_drain_recurse
authorPaolo Bonzini <[email protected]>
Wed, 23 Dec 2015 10:48:25 +0000 (11:48 +0100)
committerStefan Hajnoczi <[email protected]>
Tue, 9 Feb 2016 13:52:26 +0000 (13:52 +0000)
This is also needed in bdrv_drain_all, not just in bdrv_drain.

Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Fam Zheng <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Message-id: 1450867706[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/io.c

index 343ff1f233909a7910d897457c0c59fb49d1d54f..a69bfc4197f7bbaee104e2ed80526d59d353bfc4 100644 (file)
@@ -301,6 +301,7 @@ void bdrv_drain_all(void)
         if (bs->job) {
             block_job_pause(bs->job);
         }
+        bdrv_drain_recurse(bs);
         aio_context_release(aio_context);
 
         if (!g_slist_find(aio_ctxs, aio_context)) {
This page took 0.0293 seconds and 4 git commands to generate.