Messages in this thread | | | Subject | Re: [patch 2/4] fastboot: retry mounting the root fs if we can't find init | From | Daniel Walker <> | Date | Sun, 20 Jul 2008 18:35:04 -0700 |
| |
On Sun, 2008-07-20 at 15:13 -0700, Arjan van de Ven wrote: > + /* > + * We haven't found init yet... potentially because the device > + * is still being probed. We need to > + * - flush keventd and friends > + * - wait for the known devices to complete their probing > + * - try to mount the root fs again > + */ > + flush_scheduled_work(); > + while (driver_probe_done() != 0) > + msleep(100);
I realize the while() loop above is just code shifted from init/do_mounts_md.c , but I'm wondering if that could be a complete instead of a while then sleep 100ms .. That would reduce the overshoot .
Daniel
| |