From fb55475ce7a41f3c0274cf59ecc8f15104d9218f Mon Sep 17 00:00:00 2001 From: Dan HorĂ¡k Date: Wed, 5 Mar 2014 18:27:37 +0100 Subject: device_cio_free: move the udevadm settle Having the udeavdm settle call in the global wait_on_devices function causes a 2 minutes delay during normal startup. Until the cause is known move it just to the wait after freeing aa specified set of devices. https://bugzilla.redhat.com/show_bug.cgi?id=1054691#c15 --- device_cio_free | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device_cio_free b/device_cio_free index b4c3750..cd2b21f 100644 --- a/device_cio_free +++ b/device_cio_free @@ -101,7 +101,6 @@ wait_on_devices() if [ -w $CIO_SETTLE ]; then [ $VERBOSE ] && echo "Waiting until all pending CIO requests are processed" echo 1 > $CIO_SETTLE - udevadm settle return fi @@ -249,6 +248,7 @@ if [ "$DEVICE" ]; then [ $VERBOSE ] && echo "Freeing specific devices" free_device $DEVICE wait_on_devices + udevadm settle exit 0 fi -- cgit