libvirt/src/node_device
Erik Skultety 1af4580408 nodedev: udev: Hook up virFileWaitForAccess to work around uevent race
If we find ourselves in the situation that the 'add' uevent has been
fired earlier than the sysfs tree for a device was created, we should
use the best-effort approach and give kernel some predetermined amount
of time, thus waiting for the attributes to be ready rather than
discarding the device from our device list forever. If those don't appear
in the given time frame, we need to move on, since libvirt can't wait
indefinitely.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1463285

Signed-off-by: Erik Skultety <eskultet@redhat.com>
2017-10-19 08:54:53 +02:00
..
node_device_driver.c nodedev: Remove driver locks around object list mgmt code 2017-07-24 12:19:34 -04:00
node_device_driver.h nodedev: Cleanup driver code and prototypes 2017-06-03 08:34:34 -04:00
node_device_hal.c nodedev: Remove driver locks around object list mgmt code 2017-07-24 12:19:34 -04:00
node_device_hal.h
node_device_linux_sysfs.c nodedev: Introduce virNodeDeviceGetSCSIHostCaps 2017-07-17 10:40:24 -04:00
node_device_linux_sysfs.h node_device: introduce new capability FC_RPORT 2017-05-26 10:44:05 -04:00
node_device_udev.c nodedev: udev: Hook up virFileWaitForAccess to work around uevent race 2017-10-19 08:54:53 +02:00
node_device_udev.h nodedev: udev: Convert udev private data to a lockable object 2017-10-19 08:54:53 +02:00