Since udev is well known for its async nature, we need to be sure
that it finishes its queue processing after calling 'udevadm trigger'.
'udevadm settle' is the only way to achive that sync.
Otherwise, we could end up with unexpectable changes in devfs in the
middle of the rest of the script execution.
Reviewed: https:/ /review. openstack. org/170579 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=10ab0e3dd1d b9390339259a670 a339eb5f49af25
Committed: https:/
Submitter: Jenkins
Branch: master
commit 10ab0e3dd1db939 0339259a670a339 eb5f49af25
Author: Alexander Gordeev <email address hidden>
Date: Fri Apr 3 21:20:41 2015 +0300
Pmanager: Add udev settle after trigger
Since udev is well known for its async nature, we need to be sure
that it finishes its queue processing after calling 'udevadm trigger'.
'udevadm settle' is the only way to achive that sync.
Otherwise, we could end up with unexpectable changes in devfs in the
middle of the rest of the script execution.
Change-Id: Ie994b5fbb07031 4621ba369e7a4f4 850cf400173
Related-Bug: #1410471