commit | aa0d7ed658f6afbdbcf4ceb8613b3c2cf5fbc7c4 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Mar 14 19:20:07 2019 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jun 03 14:03:00 2019 +0200 |
tree | 56d9693250306121fbcc30fe56a259ed1ae37351 | |
parent | ad88e4252f09c2956b99c90de39e95bab2e8e7af [diff] |
test-thread-pool: be more reliable There is a rare race between the atomic_cmpxchg and bdrv_aio_cancel/bdrv_aio_cancel_async invocations. Detect it, the only sensible we can do about it is to exit long_cb immediately. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>