nodedev: wait a bit longer for new node devices
nodedev: wait a bit longer for new node devices

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 appear (max 100 waits of 1ms each). But in the
OpenStack environment, the sysfs tree for new mediated devices was
taking closer to 250ms to appear and therefore libvirt gave up waiting
and didn't add these new devices to its list of nodedevs.

By changing the wait time to 1 second (max 100 waits of 10ms each), this
should provide enough time to enable these deployments to recognize
newly-created mediated devices, but it shouldn't increase the delay for
more traditional deployments too much.

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

Signed-off-by: Jonathon Jongsma <c7254805a17bd5c41e24c3a278fcbf3afcdfb0fa@redhat.com>
Reviewed-by: Erik Skultety <2c14d38fa47c8799f1b9c16280abe27f8edfec6e@redhat.com>

olafhering/libvirt,jfehlig/libvirt,libvirt/libvirt,zippy2/libvirt,libvirt/libvirt,zippy2/libvirt,jfehlig/libvirt,libvirt/libvirt,jfehlig/libvirt,zippy2/libvirt,olafhering/libvirt,olafhering/libvirt,jfehlig/libvirt,libvirt/libvirt,zippy2/libvirt,olafhering/libvirt