[pve-devel] applied: [PATCH storage 01/10] api: disks: create: re-check disk after fork/lock
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Sep 30 18:06:09 CEST 2021
On 28.09.21 13:39, Fabian Ebner wrote:
> Because then it might not be unused anymore. If there really is a
> race, this prevents e.g. sgdisk creating a partition on a device
> already in use by LVM or LVM destroying a partitioned device.
>
> For ZFS, also get the latest udev info once inside the worker.
>
> Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
> ---
> PVE/API2/Disks/Directory.pm | 2 ++
> PVE/API2/Disks/LVM.pm | 2 ++
> PVE/API2/Disks/LVMThin.pm | 2 ++
> PVE/API2/Disks/ZFS.pm | 10 +++++++---
> 4 files changed, 13 insertions(+), 3 deletions(-)
>
>
applied, thanks!
More information about the pve-devel
mailing list