partially-applied: [PATCH proxmox{,-backup} v7 00/34] partially fix #6563: add s3 counter for statistics and notifications

Thomas Lamprecht
2026-04-01T22:20:45Z

On Wed, 01 Apr 2026 15:47:43 +0200, Christian Ebner wrote:
> This patch series implements request and traffic counters for the s3
> client, being shared as atomic counters via shared memory and mmapping
> across all s3-client instances.
>
> The shared counters are instantiated on demand for individual
> datastores with s3 backend on s3 client instantiation and stored as
> part of the datastore implementation by loading the mmapped file on
> datastore creation, being cached for further access. Counter threshold
> values can be defined in the datastore options, allowing to send
> notifications via the notification system if counters exceeded the set
> threshold values. Further, a per-datastore schedule can be configured
> to reset the counters with given interval.
>
> [...]

Applied and rolled out the proxmox workspace parts, thanks!

[01/11] s3-client: add persistent shared request counters for client
commit: 363915aefda447d06712d297b397b15f6fab3f20
[02/11] s3-client: add counters for upload/download traffic
commit: 6b08de93d152ecc04e550f014e72b81449fc3df6
[03/11] s3-client: account for upload traffic on successful request sending
commit: c1d201b0bdab05168da4cfd9d5f702fe4257ae68
[04/11] s3-client: account for downloaded bytes in incoming response body
commit: 3237d09e970f1b4d4ee7675dac254b6d333258dd
[05/11] s3-client: request counters: periodically persist counters to file
commit: d8f42b087222e3ea8d7c8de04b1d9d4e157177f6
[06/11] s3-client: sync flush request counters on client instance drop
commit: 2ecd7e7b0f1f0b7b65c324dde078fe3f48cad03b
[07/11] s3-client: api-types: define request counter thresholds
commit: f624abd82892705c80e59a39dd05170c7d4ecfda
[08/11] s3-client: implement request counter threshold and exceeding callback
commit: 6b49d130237f4cdfcd6cfc8f68f863eb2728f4ad
[09/11] pbs-api-types: define api type for s3 request statistics
commit: 7bf8762acc8af4c010ab65ce8324b41ea59a361a
[10/11] pbs-api-types: add notification thresholds to datastore config
commit: 2804ddf6586be6bcb7b823b3e4d246b7a5717578
[11/11] pbs-api-types: add reset schedule for notification threshold counters
commit: 2de5bc7585d588b334fdb19b528622858841317f