qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH v7 06/33] block-copy: move detecting fleecing scheme to block


From: Hanna Reitz
Subject: Re: [PATCH v7 06/33] block-copy: move detecting fleecing scheme to block-copy
Date: Tue, 10 Aug 2021 16:44:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 04.08.21 11:37, Vladimir Sementsov-Ogievskiy wrote:
We want to simplify initialization interface of copy-before-write
filter as we are going to make it public. So, let's detect fleecing
scheme exactly in block-copy code, to not pass this information through
extra levels.

Why not just set BDRV_REQ_SERIALISING unconditionally: because we are
going to implement new more efficient fleecing scheme which will not
rely on backing feature.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
---
  block/copy-before-write.h  |  2 +-
  include/block/block-copy.h |  3 +--
  block/backup.c             | 21 +--------------------
  block/block-copy.c         | 24 +++++++++++++++++++++---
  block/copy-before-write.c  |  4 ++--
  5 files changed, 26 insertions(+), 28 deletions(-)

Reviewed-by: Hanna Reitz <hreitz@redhat.com>




reply via email to

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