The following changes since commit 506e4a00de01e0b29fa83db5cbbc3d154253b4ea:
Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-3.1-20180925' into staging (2018-09-25 13:30:45 +0100) are available in the Git repository at: https://git.xanclic.moe/XanClic/qemu.git tags/pull-block-2018-09-25 for you to fetch changes up to 9c76ff9c16be890e70fce30754b096ff9950d1ee: Merge remote-tracking branch 'kevin/tags/for-upstream' into block (2018-09-25 16:12:44 +0200) ---------------------------------------------------------------- Block layer patches: - Drain fixes - node-name parameters for block-commit - Refactor block jobs to use transactional callbacks for exiting ---------------------------------------------------------------- Alberto Garcia (2): block: Fix use after free error in bdrv_open_inherit() qemu-iotests: Test snapshot=on with nonexistent TMPDIR Fam Zheng (1): job: Fix nested aio_poll() hanging in job_txn_apply John Snow (16): block/commit: add block job creation flags block/mirror: add block job creation flags block/stream: add block job creation flags block/commit: refactor commit to use job callbacks block/mirror: don't install backing chain on abort block/mirror: conservative mirror_exit refactor block/stream: refactor stream to use job callbacks tests/blockjob: replace Blockjob with Job tests/test-blockjob: remove exit callback tests/test-blockjob-txn: move .exit to .clean jobs: remove .exit callback qapi/block-commit: expose new job properties qapi/block-mirror: expose new job properties qapi/block-stream: expose new job properties block/backup: qapi documentation fixup blockdev: document transactional shortcomings Kevin Wolf (21): commit: Add top-node/base-node options qemu-iotests: Test commit with top-node/base-node job: Fix missing locking due to mismerge blockjob: Wake up BDS when job becomes idle aio-wait: Increase num_waiters even in home thread test-bdrv-drain: Drain with block jobs in an I/O thread test-blockjob: Acquire AioContext around job_cancel_sync() job: Use AIO_WAIT_WHILE() in job_finish_sync() test-bdrv-drain: Test AIO_WAIT_WHILE() in completion callback block: Add missing locking in bdrv_co_drain_bh_cb() block-backend: Add .drained_poll callback block-backend: Fix potential double blk_delete() block-backend: Decrease in_flight only after callback blockjob: Lie better in child_job_drained_poll() block: Remove aio_poll() in bdrv_drain_poll variants test-bdrv-drain: Test nested poll in bdrv_drain_poll_top_level() job: Avoid deadlocks in job_completed_txn_abort() test-bdrv-drain: AIO_WAIT_WHILE() in job .commit/.abort test-bdrv-drain: Fix outdated comments block: Use a single global AioWait test-bdrv-drain: Test draining job source child and parent Max Reitz (1): Merge remote-tracking branch 'kevin/tags/for-upstream' into block Sergio Lopez (2): block/linux-aio: acquire AioContext before qemu_laio_process_completions util/async: use qemu_aio_coroutine_enter in co_schedule_bh_cb qapi/block-core.json | 104 ++++++++++++--- include/block/aio-wait.h | 28 ++-- include/block/block.h | 6 +- include/block/block_int.h | 18 ++- include/block/blockjob.h | 3 + include/qemu/coroutine.h | 5 + include/qemu/job.h | 23 ++-- block.c | 6 +- block/block-backend.c | 31 +++-- block/commit.c | 97 ++++++++------ block/io.c | 30 +++-- block/linux-aio.c | 2 +- block/mirror.c | 49 +++++-- block/stream.c | 28 ++-- blockdev.c | 84 ++++++++++-- blockjob.c | 9 +- hmp.c | 5 +- job.c | 144 +++++++++++---------- tests/test-bdrv-drain.c | 294 +++++++++++++++++++++++++++++++++++++++--- tests/test-blockjob-txn.c | 4 +- tests/test-blockjob.c | 120 ++++++++--------- util/aio-wait.c | 11 +- util/async.c | 2 +- util/qemu-coroutine.c | 5 + tests/qemu-iotests/040 | 52 +++++++- tests/qemu-iotests/040.out | 4 +- tests/qemu-iotests/051 | 3 + tests/qemu-iotests/051.out | 3 + tests/qemu-iotests/051.pc.out | 3 + 29 files changed, 856 insertions(+), 317 deletions(-) -- 2.17.1