flush pending aio requests
authorGlauber Costa <glommer@redhat.com>
Mon, 6 Jul 2009 13:32:09 +0000 (09:32 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Jul 2009 18:44:30 +0000 (13:44 -0500)
commit8334ec0008a57f4e0de8224ab5af6de50aa10f3b
treef0209a7fdd0871f196c24ddbc00a2628c6f776c9
parentaa2e304cc6a9dc1e17ff558342098b6fa8957040
flush pending aio requests

When we finish migration, there may be pending async io requests
in flight. If we don't flush it before stage3 starting, it might be
the case that the guest loses it.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
migration.c