Re: [PATCH v2 07/11] mirror: Skip pre-zeroing destination if it is already zero

2025-04-24 Thread Eric Blake
On Thu, Apr 17, 2025 at 01:39:12PM -0500, Eric Blake wrote: > When doing a sync=full mirroring, QMP drive-mirror requests full > zeroing if it did not just create the destination, and blockdev-mirror > requests full zeroing unconditionally. This is because during a full > sync, we must ensure that

[PATCH v2 07/11] mirror: Skip pre-zeroing destination if it is already zero

2025-04-17 Thread Eric Blake
When doing a sync=full mirroring, QMP drive-mirror requests full zeroing if it did not just create the destination, and blockdev-mirror requests full zeroing unconditionally. This is because during a full sync, we must ensure that the portions of the disk that are not otherwise touched by the sour

Re: [PATCH v2 07/11] mirror: Skip pre-zeroing destination if it is already zero

2025-04-17 Thread Stefan Hajnoczi
On Thu, Apr 17, 2025 at 01:39:12PM -0500, Eric Blake wrote: > When doing a sync=full mirroring, QMP drive-mirror requests full > zeroing if it did not just create the destination, and blockdev-mirror > requests full zeroing unconditionally. This is because during a full > sync, we must ensure that