Re: [libvirt] [PATCH 1/2]: Give /dev/disk/by-{id, path} a chance to exist

2008-11-27 Thread Chris Lalancette
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

[libvirt] [PATCH 1/2]: Give /dev/disk/by-{id, path} a chance to exist

2008-11-26 Thread Chris Lalancette
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

Re: [libvirt] [PATCH 1/2]: Give /dev/disk/by-{id, path} a chance to exist

2008-11-26 Thread Daniel P. Berrange
On Wed, Nov 26, 2008 at 05:08:47PM +0100, 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