[pbs-devel] superseded: [PATCH proxmox-backup 0/3] reduce GC S3 locking
Fabian Grünbichler
f.gruenbichler at proxmox.com
Fri Nov 21 11:19:32 CET 2025
by https://lore.proxmox.com/pbs-devel/20251121101849.463119-1-f.gruenbichler@proxmox.com
thanks Chris for the quick review and testing!
On November 21, 2025 10:05 am, Fabian Grünbichler wrote:
> this patch series tries to reduce the number of open locks held by GC,
> in particular in case most objects returned by the S3 backend are
> garbage that need deletion.
>
> the first patch reduces the number of open locks by at least a factor of
> 10 in the worst case (from up to 1000 to up to 100).
>
> the second patch just refactors some now common code.
>
> the third patch tries to reduce the number of delete calls for regular
> GC runs by batching deletes more efficiently.
>
> Fabian Grünbichler (3):
> GC: S3: reduce number of open FDs for to-be-deleted objects
> GC: S3: factor out batch object deletion
> GC: S3: phase2: delete last partial batch of objects at the very end
>
> pbs-datastore/src/datastore.rs | 49 +++++++++++++++++++++++-----------
> 1 file changed, 33 insertions(+), 16 deletions(-)
>
> --
> 2.47.3
>
>
>
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
>
More information about the pbs-devel
mailing list