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.eb...@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!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to