[pve-devel] [PATCH] zfs: fix wait by alloc_image

Dietmar Maurer dietmar at proxmox.com
Wed Jan 28 09:51:58 CET 2015


> +    run_command ("udevadm trigger --subsystem-match block");
> +    run_command ("udevadm settle --timeout 5");
> 

reasonable

> +    for (1..4) {
> +       Time::HiRes::usleep(100);
> +    }

but I do not understand this one?




More information about the pve-devel mailing list