Re: [libvirt] [PATCH 1/3] nodedev: Move device enumumeration out of nodeStateInitialize

2017-12-14 Thread Erik Skultety
On Thu, Dec 14, 2017 at 08:25:34AM -0500, John Ferlan wrote: > > > On 12/14/2017 05:42 AM, Erik Skultety wrote: > > On Sat, Dec 09, 2017 at 12:29:12PM -0500, John Ferlan wrote: > >> Let's move the udevEnumerateDevices into a thread to "speed > >> up" the initialization process. If the enumeration f

Re: [libvirt] [PATCH 1/3] nodedev: Move device enumumeration out of nodeStateInitialize

2017-12-14 Thread John Ferlan
On 12/14/2017 05:42 AM, Erik Skultety wrote: > On Sat, Dec 09, 2017 at 12:29:12PM -0500, John Ferlan wrote: >> Let's move the udevEnumerateDevices into a thread to "speed >> up" the initialization process. If the enumeration fails we >> can set the Quit flag to ensure that udevEventHandleCallback

Re: [libvirt] [PATCH 1/3] nodedev: Move device enumumeration out of nodeStateInitialize

2017-12-14 Thread Erik Skultety
On Sat, Dec 09, 2017 at 12:29:12PM -0500, John Ferlan wrote: > Let's move the udevEnumerateDevices into a thread to "speed > up" the initialization process. If the enumeration fails we > can set the Quit flag to ensure that udevEventHandleCallback > will not run. > > Signed-off-by: John Ferlan > -

[libvirt] [PATCH 1/3] nodedev: Move device enumumeration out of nodeStateInitialize

2017-12-09 Thread John Ferlan
Let's move the udevEnumerateDevices into a thread to "speed up" the initialization process. If the enumeration fails we can set the Quit flag to ensure that udevEventHandleCallback will not run. Signed-off-by: John Ferlan --- src/node_device/node_device_udev.c | 27 +-- 1