Re: [PATCH 0/3] Workaround mdev uevent race affecting node device driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 06/20/2017 11:03 AM, Erik Skultety wrote:
> This series resolves https://bugzilla.redhat.com/show_bug.cgi?id=1463285
> 
> Erik Skultety (3):
>   util: Report an error when virFileResolveLinkHelper's lstat fails
>   util: Introduce virFileWaitForAccess
>   nodedev: Work around the uevent race by hooking up
>     virFileWaitForAccess
> 
>  src/libvirt_private.syms           |  1 +
>  src/node_device/node_device_udev.c | 48 +++++++++++++++++++++++++++++++++++++-
>  src/util/virfile.c                 | 40 ++++++++++++++++++++++++++++++-
>  src/util/virfile.h                 |  2 ++
>  4 files changed, 89 insertions(+), 2 deletions(-)
> 
> --
> 2.13.1
> 
> --
> libvir-list mailing list
> libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list
> 

FWIW: This seemed a bit familiar to something for NPIV as well. Although
for NPIV the files exist, it's just that they have bogus data.  See:

https://www.redhat.com/archives/libvir-list/2016-June/msg02213.html

The referenced bz:

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

The settle code is used in a number of place in libvirt, search on
virWaitForDevices

John

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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux