]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: Move device enumumeration out of nodeStateInitialize
authorJohn Ferlan <jferlan@redhat.com>
Wed, 22 Nov 2017 16:55:10 +0000 (11:55 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 4 Jan 2018 12:13:55 +0000 (07:13 -0500)
commit9f0ae0b18e3e620fdc115b3c10fe4db2b38f4b70
tree673614077e2c0743b17c1fcf8f5e1b09ad15856d
parent68cdad8785d70aa21636ffeb64ae890711ecb8e0
nodedev: Move device enumumeration out of nodeStateInitialize

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 <jferlan@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/node_device/node_device_udev.c