Re: [PATCH v4 08/13] mirror: Allow QMP override to declare target already zero

2025-05-13 Thread Sunny Zhu
On Fri, 9 May 2025 15:40:25 -0500, Eric Blake wrote: > QEMU has an optimization for a just-created drive-mirror destination > that is not possible for blockdev-mirror (which can't create the > destination) - any time we know the destination starts life as all > zeroes, we can skip a pre-zeroing pas

Re: [PATCH v4 08/13] mirror: Allow QMP override to declare target already zero

2025-05-12 Thread Eric Blake
On Sat, May 03, 2025 at 07:57:24AM +0800, Sunny Zhu wrote: > On Fri, May 09, 2025 at 03:40:25PM -0500, Eric Blake wrote: > > QEMU has an optimization for a just-created drive-mirror destination > > that is not possible for blockdev-mirror (which can't create the > > destination) - any time we know

Re: [PATCH v4 08/13] mirror: Allow QMP override to declare target already zero

2025-05-12 Thread Sunny Zhu
On Fri, May 09, 2025 at 03:40:25PM -0500, Eric Blake wrote: > QEMU has an optimization for a just-created drive-mirror destination > that is not possible for blockdev-mirror (which can't create the > destination) - any time we know the destination starts life as all > zeroes, we can skip a pre-zero

Re: [PATCH v4 08/13] mirror: Allow QMP override to declare target already zero

2025-05-12 Thread Stefan Hajnoczi
On Fri, May 09, 2025 at 03:40:25PM -0500, Eric Blake wrote: > QEMU has an optimization for a just-created drive-mirror destination > that is not possible for blockdev-mirror (which can't create the > destination) - any time we know the destination starts life as all > zeroes, we can skip a pre-zero