diff options
| author | Alberto Garcia | 2016-04-04 15:43:51 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-05-25 19:04:21 +0200 |
| commit | a7112795c14d99b81600f8809fda5ce18b430830 (patch) | |
| tree | f422a21a2d8ccafde4d68b61a11b17842208d13d /block | |
| parent | block: Rename blk_write_zeroes() (diff) | |
| download | qemu-a7112795c14d99b81600f8809fda5ce18b430830.tar.gz qemu-a7112795c14d99b81600f8809fda5ce18b430830.tar.xz qemu-a7112795c14d99b81600f8809fda5ce18b430830.zip | |
block: keep a list of block jobs
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 <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
