Skip to content

block-copy: use aio-task-pool

Vladimir Sementsov-Ogievskiy qemu-devel 3 versions – Applied

Status from this message: Thanks, applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 4 repliesApplied
  2. v35 patches 7 repliesSuperseded
  3. v26 patches 11 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5block/block-copy: rename in-flight requests to tasksblock/block-copy.c+48 -500 replies
2/5block/block-copy: alloc task on each iterationblock/block-copy.c+11 -70 replies
3/5block/block-copy: add state pointer to BlockCopyTaskblock/block-copy.c+15 -130 replies
4/5block/block-copy: refactor task creationblock/block-copy.c+46 -340 replies
5/5block/block-copy: use aio-task-pool APIblock/block-copy.c+106 -132 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

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

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

Read the v4 thread

Cover letter [PATCH v4 0/5] block-copy: use aio-task-pool

Hi all!

v4
01: add Max's r-b
04: move variable definition to the top of the block, add Max's r-b 05: - change error-codes in block_copy_task_run(), document them
and be more accurate about error code in block_copy_dirty_clusters().
- s/g_free(aio)/aio_task_pool_free(aio)/

==

This is the next step of improving block-copy: use aio task pool.

Async copying loop has better performance than linear, which is shown in original series (was
"[RFC 00/24] backup performance: block_status + async".

Vladimir Sementsov-Ogievskiy (5):
block/block-copy: rename in-flight requests to tasks block/block-copy: alloc task on each iteration block/block-copy: add state pointer to BlockCopyTask block/block-copy: refactor task creation block/block-copy: use aio-task-pool API

 block/block-copy.c | 279 +++++++++++++++++++++++++++++++--------------
 1 file changed, 194 insertions(+), 85 deletions(-)
Signature · 1 line
2.21.0