On Mon, May 11, 2026 at 23:55:24 +0200, Denis V. Lunev wrote:
> These three fields are cached values that do not reflect reality unless
> the caller refreshes them. 'allocation' is in addition ultra-unreliable:
> any guest write into a previously unallocated part of a sparse image
> invalidates it, even right after a refresh.
> 
> Document this on the struct so new callers do not trust the values.
> 
> Signed-off-by: Denis V. Lunev <[email protected]>
> CC: Peter Krempa <[email protected]>
> ---
>  src/conf/storage_source_conf.h | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Peter Krempa <[email protected]>

Reply via email to