Re: [libvirt] [PATCH v4 1/7] nodedev: Introduce udevEventCheckMonitorFD helper function

2017-09-20 Thread Erik Skultety
On Wed, Sep 20, 2017 at 08:52:26AM -0400, John Ferlan wrote: > > > On 09/18/2017 12:34 PM, Erik Skultety wrote: > > We need to perform some sanity checks on the udev monitor before every > > use so that we know nothing changed in the meantime. The reason for > > moving the code to a separate functi

Re: [libvirt] [PATCH v4 1/7] nodedev: Introduce udevEventCheckMonitorFD helper function

2017-09-20 Thread John Ferlan
On 09/18/2017 12:34 PM, Erik Skultety wrote: > We need to perform some sanity checks on the udev monitor before every > use so that we know nothing changed in the meantime. The reason for > moving the code to a separate function is to be able to perform the same > check from a worker thread that

[libvirt] [PATCH v4 1/7] nodedev: Introduce udevEventCheckMonitorFD helper function

2017-09-18 Thread Erik Skultety
We need to perform some sanity checks on the udev monitor before every use so that we know nothing changed in the meantime. The reason for moving the code to a separate function is to be able to perform the same check from a worker thread that will replace the udevEventHandleCallback in terms of po