summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFam Zheng2017-04-07 02:55:13 +0200
committerFam Zheng2017-04-11 14:07:15 +0200
commitd90fce944647f8b2759f016b0f86bf36dffe34c8 (patch)
tree4e4fcebe0f121b03eef522cf31236b16e0e204ca /include
parentblock: Quiesce old aio context during bdrv_set_aio_context (diff)
downloadqemu-d90fce944647f8b2759f016b0f86bf36dffe34c8.tar.gz
qemu-d90fce944647f8b2759f016b0f86bf36dffe34c8.tar.xz
qemu-d90fce944647f8b2759f016b0f86bf36dffe34c8.zip
tests/block-job-txn: Don't start block job before adding to txn
Previously, before test_block_job_start returns, the job can already complete, as a result, the transactional state of other jobs added to the same txn later cannot be handled correctly. Move the block_job_start() calls to callers after block_job_txn_add_job() calls. Signed-off-by: Fam Zheng <famz@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions