[libvirt] [PATCH v4 0/7] Work around the kernel mdev uevent race in nodedev

Erik Skultety posted 7 patches 64 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1505752213.git.eskultet@redhat.com
src/libvirt_private.syms           |   1 +
src/node_device/node_device_udev.c | 194 +++++++++++++++++++++++++++++++++----
src/util/virfile.c                 |  31 ++++++
src/util/virfile.h                 |   2 +
4 files changed, 209 insertions(+), 19 deletions(-)

[libvirt] [PATCH v4 0/7] Work around the kernel mdev uevent race in nodedev

Posted by Erik Skultety 64 weeks ago
v3 here: https://www.redhat.com/archives/libvir-list/2017-August/msg00703.html

since v3:
- some minor cosmetic changes related to comments from the original patches 1-2
- everything else (provided it didn't cause merge conflicts) is unchanged

Erik Skultety (7):
  nodedev: Introduce udevEventCheckMonitorFD helper function
  nodedev: udev: Lock the driver in udevEventCheckMonitorFd
  udev: Split udevEventHandleCallback in two functions
  udev: Convert udevEventHandleThread to an actual thread routine
  nodedev: Disable/re-enable polling on the udev fd
  util: Introduce virFileWaitForExists
  nodedev: Work around the uevent race by hooking up
    virFileWaitForAccess

 src/libvirt_private.syms           |   1 +
 src/node_device/node_device_udev.c | 194 +++++++++++++++++++++++++++++++++----
 src/util/virfile.c                 |  31 ++++++
 src/util/virfile.h                 |   2 +
 4 files changed, 209 insertions(+), 19 deletions(-)

--
2.13.5

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list