Re: [PATCH] nodedev: udev: Hook up virFileWaitForExist to address uevent, race of pci device

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

 



On Thu, Dec 19, 2024 at 11:07:35PM +0800, Guoyi Tu wrote:
this commit addresses the same issue that as commit 1af45804 does.

the following message is copying from that commit:
  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.

Signed-off-by: Guoyi Tu <tugy@xxxxxxxxxxxxxxx>

Hi and sorry for the delay, this makes sense, I just amended the commit
message and pushed it with my
Reviewed-by: Martin Kletzander <mkletzan@xxxxxxxxxx>

Thanks for your contribution!

Attachment: signature.asc
Description: PGP signature


[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