]> git.proxmox.com Git - mirror_qemu.git/commit
block: add bdrv_drain()
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 21 Oct 2014 11:03:55 +0000 (12:03 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 3 Nov 2014 11:41:49 +0000 (11:41 +0000)
commit5b98db0ad3ad2919c71572085d104765bad6c658
treeb905002b02a513dc4ec867313c762d949a89ef4b
parentdec7d421f85578b0949292336f784f55ac84812d
block: add bdrv_drain()

Now that op blockers are in use, we can ensure that no other sources are
generating I/O on a BlockDriverState.  Therefore it is possible to drain
requests for a single BDS.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1413889440-32577-7-git-send-email-stefanha@redhat.com
block.c
include/block/block.h