From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com, Kefu Chai <k.chai@proxmox.com>
Subject: applied: [PATCH storage] plugin: rbd: export: skip 'rbd du' when querying the size
Date: Wed, 28 Oct 2026 20:33:45 +0100 [thread overview]
Message-ID: <179321601973.2227346.17789076978328485696.b4-ty@b4> (raw)
In-Reply-To: <20261021122111.4181795-1-k.chai@proxmox.com>
On Wed, 21 Oct 2026 20:21:11 +0800, Kefu Chai wrote:
> volume_export() only needs the image size, but it calls
> volume_size_info() in list context. In that context volume_size_info()
> also runs 'rbd du' to get the used space, which walks every object on
> images without fast-diff. The export then never uses the result.
>
> Call it in scalar context.
>
> [...]
Applied, thanks!
[1/1] plugin: rbd: export: skip 'rbd du' when querying the size
https://git.proxmox.com/?p=pve-storage.git;a=commitdiff;h=a8ee8394bf6cbd340e1494f39d9f599553a1d141
prev parent reply other threads:[~2026-10-28 19:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-21 12:21 [PATCH storage] plugin: rbd: export: skip 'rbd du' when querying the size Kefu Chai
2026-10-28 19:33 ` 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=179321601973.2227346.17789076978328485696.b4-ty@b4 \
--to=t.lamprecht@proxmox.com \
--cc=k.chai@proxmox.com \
--cc=pve-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.