Am 04.04.2016 um 15:43 hat Alberto Garcia geschrieben: > The current way to obtain the list of existing block jobs is to > iterate over all root nodes and check which ones own a job. > > Since we want to be able to support block jobs in other nodes as well, > this patch keeps a list of jobs that is updated every time one is > created or destroyed. > > Signed-off-by: Alberto Garcia <be...@igalia.com>
Reviewed-by: Kevin Wolf <kw...@redhat.com> Actually, I have almost literally the same change (except that I didn't need a block_job_next()) in my development branch. I guess I should rebase on top of this one. :-) Kevin