]> xenbits.xensource.com Git - qemu-xen-3.4-testing.git/commit
Fix vectored aio bounce handling immediate errors (Avi Kivity)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 28 Mar 2009 16:11:20 +0000 (16:11 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 13 Oct 2009 16:33:11 +0000 (17:33 +0100)
commit1638898c840ca6cad6c91064bc3f5417d21cb7f0
tree5de5822a2d89b5efbbec02c6a784e081cbd24f45
parenta27f6d85b8a107b2801dfbb8d1f12ce00952953b
Fix vectored aio bounce handling immediate errors (Avi Kivity)

If a bounced vectored aio fails immediately (the inner aio submission
returning NULL) then the bounce handler erronously returns an aio
request which will never be completed (and which crashes when cancelled).

Fix by detecting that the inner request has failed and propagating the
error.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6892 c046a42c-6fe2-441c-8c8c-71466251a162
(cherry picked from commit c240b9af599d20e06a58090366be682684bd8555)
(cherry picked from commit 090a34b30e3de1e573aaa9c966a8096567a7e8a7)
block.c