block-copy: use aio-task-pool
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
- v4 Latest5 patches 4 repliesApplied
- v35 patches 7 repliesSuperseded
- v26 patches 11 repliesSuperseded
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | block/block-copy: rename in-flight requests to tasksblock/ | +48 | 0 replies | |
| 2/5 | block/block-copy: alloc task on each iterationblock/ | +11 | 0 replies | |
| 3/5 | block/block-copy: add state pointer to BlockCopyTaskblock/ | +15 | 0 replies | |
| 4/5 | block/block-copy: refactor task creationblock/ | +46 | 0 replies | |
| 5/5 | block/block-copy: use aio-task-pool APIblock/ | +106 | 2 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Max Reitz |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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