[pve-devel] [PATCH storage v3] fix #4272: btrfs: add rename feature
Maximiliano Sandoval
m.sandoval at proxmox.com
Fri Jul 5 14:41:07 CEST 2024
Aaron Lauterer <a.lauterer at proxmox.com> writes:
> gave it a try and it does what it should.
> by enabling the rename feature only for `raw` we avoid potential pitfalls if we
> encounter a non regular situation on BTRFS. For example, an
> images/{vmid}/vm-{vmid}-disk-X.qcow2 file directly instead of the
> images/{vmid}/vm-{vmid}-disk-X/disk.raw as is the way the BTRFS plugin handles
> it in subvolumes.
>
> But if we add the following diff, it seems to handle the case of a qcow2 file in
> the same directory structure just fine:
Did you try it without your patch? I tested it here and it seemed to
work from my limited testing.
--
Maximiliano
More information about the pve-devel
mailing list