On Thu, Jul 24, 2025 at 05:34:03PM +0300, George Melikov wrote:
> From: George Melikov <m...@gmelikov.ru>
> 
> ZFS doesn't have thick allocations, every allocation is
> thin-provisioned, so resize operation is essentially
> a zvol size limit change
> (`zfs set volsize=X pool/zvol_name`).
> 
> Shrink is allowed too (which leads to data destruction),
> but shrink restriction is already implemented in libvirt,
> so this function doesn't need to check anything.
> 
> This patch is posted via PR too and has green test runs
> https://gitlab.com/libvirt/libvirt/-/merge_requests/495
> 
> Signed-off-by: George Melikov <m...@gmelikov.ru>
> ---
>  src/storage/storage_backend_zfs.c | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)

Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>

and pushed to git.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

Reply via email to