qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 14/33] block/copy-before-write: bdrv_cbw_append(): replace


From: Max Reitz
Subject: Re: [PATCH v2 14/33] block/copy-before-write: bdrv_cbw_append(): replace child at last
Date: Mon, 31 May 2021 18:55:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 20.05.21 16:21, Vladimir Sementsov-Ogievskiy wrote:
Refactor the function to replace child at last. Thus we don't need to
revert it and code is simplified.

block-copy state initilization being done before replacing the child

still *initialization

Max

doesn't need any drained section.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
---
  block/copy-before-write.c | 33 +++++++++++----------------------
  1 file changed, 11 insertions(+), 22 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]