[Devel] [PATCH v5 VZ9 0/4] dm-qcow2: make backward merge asyncronous

Andrey Zhadchenko andrey.zhadchenko at virtuozzo.com
Thu Mar 6 11:13:33 MSK 2025


Reviewed-by: Andrey Zhadchenko <andrey.zhadchenko at virtuozzo.com>

On 3/5/25 12:45, Pavel Tikhomirov wrote:
> That can be usefull for restarting qemu process while allowing backward
> merging to run asyncronously in kernel.
> 
> v2: rebase on top of vz9.80.19, make completion event consistent, fix
> deadlock when cancel after start and before work run
> v3: weaken locking in progress printing a bit to decrease possible lock
> contention
> v5: add "start" stage, remove excess enum init, backward merge error to
> qcow2_get_errors, note about signals handling removal, merge eventfd and
> start, release eventfd after work finishes.
> 
> Note: I didn't yet reworked bash test and ploop part.
> 
> https://virtuozzo.atlassian.net/browse/VSTOR-100466
> Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
> 
> Pavel Tikhomirov (4):
>    dm-qcow2: fix warning about wrong printk format for size_t
>    dm-qcow2: cleanup error handling in qcow2_merge_backward
>    dm-qcow2: make merge_backward command asyncronous
>    dm-qcow2: add merge_backward progress command
> 
>   drivers/md/dm-qcow2-cmd.c    | 323 ++++++++++++++++++++++++++++++++---
>   drivers/md/dm-qcow2-map.c    |   4 +-
>   drivers/md/dm-qcow2-target.c |   6 +
>   drivers/md/dm-qcow2.h        |  36 ++++
>   4 files changed, 341 insertions(+), 28 deletions(-)
> 



More information about the Devel mailing list