Hi all. Here is a proposal of replacing workaround in mirror, when we have to move filter node back to block-job blk after bdrv_replace_node.
v2: rebased on updated blk_new, with aio context paramter. Vladimir Sementsov-Ogievskiy (2): block: introduce pinned blk blockjob: use blk_new_pinned in block_job_create include/block/block_int.h | 6 ++++++ include/sysemu/block-backend.h | 2 ++ block.c | 2 +- block/block-backend.c | 25 ++++++++++++++++++++++++- block/mirror.c | 6 +----- blockjob.c | 2 +- 6 files changed, 35 insertions(+), 8 deletions(-) -- 2.18.0