Skip to content

Misc block job patches

Alberto Garcia qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block: use the block job list in bdrv_drain_all()block/io.c+18 -61 reply
2/4block: use the block job list in qmp_query_block_jobs()blockdev.c+8 -121 reply
3/4block: Prevent sleeping jobs from resuming if they have been pausedblockjob.c+4 -21 reply
4/4block: Create the commit block job before reopening any imageblock/commit.c+6 -51 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchMax Reitz
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] Misc block job patches

Hi,

here's a few patches from my block-stream series that I think are ready to be merged now.

I don't think there's anything controversial here:

- Patches 1 and 2 simply use block_job_next() in places where bdrv_next() was being used to look for block jobs.

- Patch 3 is a fix that was already proposed in the list.

- Patch 4 is quite simple and it deals with the failure of block_job_create() in commit_start().

Regards,

Berto

Alberto Garcia (4):
block: use the block job list in bdrv_drain_all()
block: use the block job list in qmp_query_block_jobs()
block: Prevent sleeping jobs from resuming if they have been paused
block: Create the commit block job before reopening any image

 block/commit.c | 11 ++++++-----
 block/io.c     | 24 ++++++++++++++++++------
 blockdev.c     | 20 ++++++++------------
 blockjob.c     |  6 ++++--
 4 files changed, 36 insertions(+), 25 deletions(-)
Signature · 1 line
2.8.1