Re: [libvirt PATCH] nodedev: wait a bit longer for new node devices

2022-08-25 Thread Jonathon Jongsma
On 8/25/22 3:20 AM, Daniel P. Berrangé wrote: On Thu, Aug 25, 2022 at 09:06:27AM +0200, Erik Skultety wrote: On Wed, Aug 24, 2022 at 06:14:51PM +0100, Daniel P. Berrangé wrote: On Wed, Aug 24, 2022 at 10:56:22AM -0500, Jonathon Jongsma wrote: On 8/24/22 2:09 AM, Erik Skultety wrote: On Tue,

Re: [libvirt PATCH] nodedev: wait a bit longer for new node devices

2022-08-25 Thread Daniel P . Berrangé
On Thu, Aug 25, 2022 at 09:06:27AM +0200, Erik Skultety wrote: > On Wed, Aug 24, 2022 at 06:14:51PM +0100, Daniel P. Berrangé wrote: > > On Wed, Aug 24, 2022 at 10:56:22AM -0500, Jonathon Jongsma wrote: > > > On 8/24/22 2:09 AM, Erik Skultety wrote: > > > > On Tue, Aug 23, 2022 at 12:43:03PM

Re: [libvirt PATCH] nodedev: wait a bit longer for new node devices

2022-08-25 Thread Erik Skultety
On Wed, Aug 24, 2022 at 06:14:51PM +0100, Daniel P. Berrangé wrote: > On Wed, Aug 24, 2022 at 10:56:22AM -0500, Jonathon Jongsma wrote: > > On 8/24/22 2:09 AM, Erik Skultety wrote: > > > On Tue, Aug 23, 2022 at 12:43:03PM -0500, Jonathon Jongsma wrote: > > > > Openstack developers reported that

Re: [libvirt PATCH] nodedev: wait a bit longer for new node devices

2022-08-24 Thread Daniel P . Berrangé
On Wed, Aug 24, 2022 at 10:56:22AM -0500, Jonathon Jongsma wrote: > On 8/24/22 2:09 AM, Erik Skultety wrote: > > On Tue, Aug 23, 2022 at 12:43:03PM -0500, Jonathon Jongsma wrote: > > > Openstack developers reported that newly-created mdevs were not > > > recognized by libvirt until after a libvirt

Re: [libvirt PATCH] nodedev: wait a bit longer for new node devices

2022-08-24 Thread Erik Skultety
On Wed, Aug 24, 2022 at 10:56:22AM -0500, Jonathon Jongsma wrote: > On 8/24/22 2:09 AM, Erik Skultety wrote: > > On Tue, Aug 23, 2022 at 12:43:03PM -0500, Jonathon Jongsma wrote: > > > Openstack developers reported that newly-created mdevs were not > > > recognized by libvirt until after a libvirt

Re: [libvirt PATCH] nodedev: wait a bit longer for new node devices

2022-08-24 Thread Jonathon Jongsma
On 8/24/22 2:09 AM, Erik Skultety wrote: On Tue, Aug 23, 2022 at 12:43:03PM -0500, Jonathon Jongsma wrote: Openstack developers reported that newly-created mdevs were not recognized by libvirt until after a libvirt daemon restart. The source of the problem appears to be that when libvirt gets

Re: [libvirt PATCH] nodedev: wait a bit longer for new node devices

2022-08-24 Thread Erik Skultety
On Tue, Aug 23, 2022 at 12:43:03PM -0500, Jonathon Jongsma wrote: > Openstack developers reported that newly-created mdevs were not > recognized by libvirt until after a libvirt daemon restart. The source > of the problem appears to be that when libvirt gets the udev 'add' > event, the sysfs tree

[libvirt PATCH] nodedev: wait a bit longer for new node devices

2022-08-23 Thread Jonathon Jongsma
Openstack developers reported that newly-created mdevs were not recognized by libvirt until after a libvirt daemon restart. The source of the problem appears to be that when libvirt gets the udev 'add' event, the sysfs tree for that device might not be ready and so libvirt waits 100ms for it to