]> Git Repo - qemu.git/commit
blockjob: Factor out block_job_remove_all_bdrv()
authorKevin Wolf <[email protected]>
Tue, 28 Feb 2017 11:45:58 +0000 (12:45 +0100)
committerKevin Wolf <[email protected]>
Tue, 28 Feb 2017 19:40:37 +0000 (20:40 +0100)
commitbbc02b90bcba371818dbffec89933072f9406945
treee8c4b9b1e495a5bdf90c9034a6303d57a683da83
parent3e44c8e08a4b84ec1f4f1eb249d33005bb9cf572
blockjob: Factor out block_job_remove_all_bdrv()

In some cases, we want to remove op blockers on intermediate nodes
before the whole block job transaction has completed (because they block
restoring the final graph state during completion). Provide a function
for this.

The whole block job lifecycle is a bit messed up and it's hard to
actually do all things in the right order, but I'll leave simplifying
this for another day.

Signed-off-by: Kevin Wolf <[email protected]>
Acked-by: Fam Zheng <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
blockjob.c
include/block/blockjob.h
This page took 0.031135 seconds and 4 git commands to generate.