On 11/04/2024 11:29, Fiona Ebner wrote:
> Useful to make discard-source work in the context of backup fleecing
> when the fleecing image has a larger granularity than the backup
> target.
> 
> Backup/block-copy will use at least this granularity for copy operations
> and in particular, discard requests to the backup source will too. If
> the granularity is too small, they will just be aligned down in
> cbw_co_pdiscard_snapshot() and thus effectively ignored.
> 
> Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
> ---
>  block/backup.c            | 2 +-
>  block/copy-before-write.c | 2 ++
>  block/copy-before-write.h | 1 +
>  blockdev.c                | 3 +++
>  qapi/block-core.json      | 9 +++++++--
>  5 files changed, 14 insertions(+), 3 deletions(-)
> 
>

applied the qemu part, thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to