[pve-devel] [PATCH storage v4] fix #4272: btrfs: add rename feature

Maximiliano Sandoval m.sandoval at proxmox.com
Mon Aug 19 11:22:20 CEST 2024


Ping.

Maximiliano Sandoval <m.sandoval at proxmox.com> writes:

> Adds the ability to change the owner of a guest image.
>
> Btrfs does not need special commands to rename a subvolume and this can
> be achieved the same as in Storage/plugin.pm's rename_volume taking
> special care of how the directory structure used by Btrfs.
>
> Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
> ---
> Differences from v3:
>  - add qcow2 and vmdk support for rename
>  - remove unused $ppath variable
>
> Differences from v2:
>  - use indices instead of assigning to undef 5 times
>
> Differences from v1:
>  - avoid assigning unused values of returned list to variables

-- 
Maximiliano




More information about the pve-devel mailing list