qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [RFC PATCH v2 3/7] qcow2: Implement copy offloading


From: Stefan Hajnoczi
Subject: Re: [Qemu-block] [RFC PATCH v2 3/7] qcow2: Implement copy offloading
Date: Thu, 26 Apr 2018 16:34:16 +0100
User-agent: Mutt/1.9.2 (2017-12-15)

On Wed, Apr 18, 2018 at 11:04:20AM +0800, Fam Zheng wrote:
> +static int qcow2_co_copy_range_to(BlockDriverState *bs,
> +                                  BdrvChild *src, uint64_t src_offset,
> +                                  BdrvChild *dst, uint64_t dst_offset,
> +                                  uint64_t bytes, BdrvRequestFlags flags)
> +{

In theory this could increment the refcount if src == dst.  It's not
necessary to go down to leaf nodes if the sharing can be handled at the
qcow2 L2 table level.

Attachment: signature.asc
Description: PGP signature


reply via email to

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