8eabcc70114146fe95f1c977c404261cea366f15
As reported by a user in the enterprise support in a ticket handled by Friedrich, concurrent snapshot operations could lead to metadata corruption of the volume group with unlucky timing. Add the missing locking for operations modifying the metadata, i.e. allocation, rename and removal. Since volume_snapshot() and volume_snapshot_rollback() only do those, use a wrapper for the whole function. Since volume_snapshot_delete() can do longer-running commit or rebase operations, only lock the necessary sections there. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Tested-by: Friedrich Weber <f.weber@proxmox.com> Link: https://lore.proxmox.com/20251103162330.112603-5-f.ebner@proxmox.com
Description
with PMEM support!
Languages
Perl
99.3%
Makefile
0.6%