]> git.proxmox.com Git - qemu.git/commit
Revert "block: complete all IOs before .bdrv_truncate"
authorPeter Lieven <pl@dlhnet.de>
Mon, 11 Mar 2013 10:03:28 +0000 (11:03 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 4 Apr 2013 22:35:43 +0000 (17:35 -0500)
commite4cce2d3e9dbdb1c82994f024c0c7e2d2661547e
treeed073869cccd2df6ed9be707a8a4792383c68d19
parentd15b1aa30c8b57e89beb41d67cd87cd4fbaacd8c
Revert "block: complete all IOs before .bdrv_truncate"

brdv_truncate() is also called from readv/writev commands on self-
growing file based storage. this will result in requests waiting
for theirselves to complete.

This reverts commit 9a665b2b8640e464f0a778216fc2dca8d02acf33.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 5c916681ae2383f0425bb8a3680ade9d055f5dfe)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block.c