From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pbs-devel@lists.proxmox.com, Christian Ebner <c.ebner@proxmox.com>
Subject: applied: [PATCH proxmox-backup v5 00/15] fix 7642: avoid expensive uid/gid lookups for lock- and config-files
Date: Thu, 23 Jul 2026 21:13:41 +0200 [thread overview]
Message-ID: <178483401008.1907934.753722046406516753.b4-ty@b4> (raw)
In-Reply-To: <20260723090815.206114-1-c.ebner@proxmox.com>
On Thu, 23 Jul 2026 11:08:00 +0200, Christian Ebner wrote:
> As reported by a user in the community forum [0] and the thereof
> resulting bugzilla entry [1], phase 2 of garbage collection currently
> produces avoidable syscalls and parsing overhead, reading
> /etc/nsswitch.conf and /etc/passwd for each per-chunk file locking
> call. This is however not limited to garbage collection, but rather
> affects file locking in general. The backup_user() lookup was
> identified as the culprit.
>
> [...]
Applied, thanks! Added calling proxmox_product_config::init() in the
proxmox-backup-debug CLI tool to avoid panic when executing any API endpoint
through that tool.
[01/15] bin: api/proxy: early init proxmox-product-config
commit: 64ed316c765c3cdd074840639ce29ff109114688
[02/15] bin: daily update: refactor to use proxmox-product-config
commit: 07f911ed0d0784572d6ac71a5e9941473e2dc305
[03/15] pbs-config: use proxmox-product-config::replace_secret_config()
commit: b9f246f48138b436ef13db3437eee6b8cc30d410
[04/15] pbs-config: use proxmox-product-config::replace_privileged_config()
commit: a97e11452423f1d7c5c6abd8e333f29ee3299dc1
[05/15] fix #7642: avoid expensive user lookups on file locking
commit: de2d08d81922db733890c924b6a456b61d45e743
[06/15] pbs-config: use proxmox-product-config helpers
commit: faa528f4e26be5df8464ee78a49a1c04a6c0bee7
[07/15] pbs-config: drop backup_group helper, use users gid instead
commit: 51fbb946f8d4a4c21aa4235ca93af37c6c22bb58
[08/15] pbs-datastore: use proxmox-product-config cached backup user
commit: 071d5ee6d3d4309ee8c459baed90c24183d7f70b
[09/15] pbs-datastore: use general helpers for file lock create options
commit: 759f6cdd355d505e3612a75fddf15f04690be8f6
[10/15] server: auth helpers: use proxmox-product-config create options helpers
commit: bd6984bbd03d3b40a74af0f2458208eec4aa3919
[11/15] api: subscription: use proxmox-product-config create options
commit: 2a3a72180afa3c4d04f16108df2dfecdfdc1fe01
[12/15] tape: use proxmox-product-config helper for user lookup
commit: 4a19d2d87779587fc7e74eda7e44dbad3ac40eb5
[13/15] tape: use proxmox-product-config lock file create options
commit: 39df8cabe4807165ecd9c98d43e2a7f8bc3a79fe
[14/15] tape: use proxmox-product-config to generate create options
commit: f79e1c1f19ea41f89a42a94ac01577d809deda87
[15/15] tree-wide: use proxmox-product-config::get_api_user for user lookup
commit: b2636735d9ca62f590bce7795bcdef6433b27446
prev parent reply other threads:[~2026-07-23 19:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 9:08 [PATCH proxmox-backup v5 00/15] fix 7642: avoid expensive uid/gid lookups for lock- and config-files Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 01/15] bin: api/proxy: early init proxmox-product-config Christian Ebner
2026-07-23 12:35 ` Robert Obkircher
2026-07-23 9:08 ` [PATCH proxmox-backup v5 02/15] bin: daily update: refactor to use proxmox-product-config Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 03/15] pbs-config: use proxmox-product-config::replace_secret_config() Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 04/15] pbs-config: use proxmox-product-config::replace_privileged_config() Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 05/15] fix #7642: avoid expensive user lookups on file locking Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 06/15] pbs-config: use proxmox-product-config helpers Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 07/15] pbs-config: drop backup_group helper, use users gid instead Christian Ebner
2026-07-23 12:35 ` Robert Obkircher
2026-07-23 9:08 ` [PATCH proxmox-backup v5 08/15] pbs-datastore: use proxmox-product-config cached backup user Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 09/15] pbs-datastore: use general helpers for file lock create options Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 10/15] server: auth helpers: use proxmox-product-config create options helpers Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 11/15] api: subscription: use proxmox-product-config create options Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 12/15] tape: use proxmox-product-config helper for user lookup Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 13/15] tape: use proxmox-product-config lock file create options Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 14/15] tape: use proxmox-product-config to generate " Christian Ebner
2026-07-23 9:08 ` [PATCH proxmox-backup v5 15/15] tree-wide: use proxmox-product-config::get_api_user for user lookup Christian Ebner
2026-07-23 19:13 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178483401008.1907934.753722046406516753.b4-ty@b4 \
--to=t.lamprecht@proxmox.com \
--cc=c.ebner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox