[pve-devel] partially-applied: [PATCH qemu v3 06/22] backup: add minimum cluster size to performance options

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Apr 11 20:41:53 CEST 2024


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.ebner at 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!




More information about the pve-devel mailing list