]> git.proxmox.com Git - qemu.git/commit
virtio-blk: fix barrier support
authorChristoph Hellwig <hch@lst.de>
Wed, 19 May 2010 10:40:09 +0000 (12:40 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 21 May 2010 09:49:19 +0000 (11:49 +0200)
commit618fbb84299780af96e3d4c4b6f2148656fe3708
treeba3fdaa1fe637ac824767fccb3e1df797d7fc46a
parentde6c8042ec55da18702fa51f09072fcaa315edc3
virtio-blk: fix barrier support

Before issuing the barrier to the block driver we need to flush our oustanding
queue of write requests, as the flush is supposed to be issued after them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/virtio-blk.c