Revert "iothread: release iothread around aio_poll"
commitda5e1de95bb235330d7724316e7a29239d1359d5
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 3 Jun 2015 09:15:33 +0000 (3 10:15 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 12 Jun 2015 12:58:33 +0000 (12 13:58 +0100)
tree5b4f1a65fb9d13113d37df0e9cf869356ccdf568
parentd8e3b729cf452d2689c8669f1ec18158db29fd5a
Revert "iothread: release iothread around aio_poll"

This reverts commit a0710f7995f914e3044e5899bd8ff6c43c62f916.

In qemu-devel email message <556DBF87.2020908@de.ibm.com>, Christian
Borntraeger writes:

  Having many guests all with a kernel/ramdisk (via -kernel) and
  several null block devices will result in hangs. All hanging
  guests are in partition detection code waiting for an I/O to return
  so very early maybe even the first I/O.

  Reverting that commit "fixes" the hangs.

Reverting this commit for the 2.4 release.  More time is needed to
investigate and correct this patch.

Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
async.c
iothread.c
tests/test-aio.c