[libvirt] [PATCH 1/2]: Give /dev/disk/by-{id, path} a chance to exist
Chris Lalancette
clalance at redhat.com
Fri Nov 28 07:49:56 UTC 2008
Chris Lalancette wrote:
> This patch is the same idea as my previous patch for giving
> /dev/disk/by-{id,path} a chance to exist. Currently libvirt can race with udev
> creation of /dev/disk/by-{id,path}, so if we fail to open the directory, retry
> up to 5 seconds. This is only likely to happen on hosts that are:
>
> 1) diskless (so /dev/disk/by-{id,path} doesn't exist already), and
> 2) slow, and/or heavily loaded (meaning that udev can take some time to create
> the /dev nodes).
>
> Based on the feedback from Dan and Jim, I updated the patch to look more like
> what is elsewhere in libvirt.
Committed.
--
Chris Lalancette
More information about the libvir-list
mailing list