[libvirt] [PATCH v4 5/7] nodedev: Disable/re-enable polling on the udev fd

Erik Skultety eskultet at redhat.com
Mon Oct 2 14:14:01 UTC 2017


[...]

> > Even though I came with another proposal, I personally still like the previous
> > version with one-by-one event version, since despite (perhaps) being a bit
> > slower, it's a more transparent and consistent (minus the event counter)
> > solution than the one I proposed the last time.
> >
> > Erik
> >
>
> I don't have that version paged into short term memory ;-)... If you
> have a thread that processes events until udev_monitor_receive_device
> returns NULL, then does that do the trick? Regardless of event counting?

Well, so far it's just an idea, I haven't tried it yet, it's just it appeared
to me like it could. I'll try and get back with results.

Erik




More information about the libvir-list mailing list