diff options
| author | Pierre Ossman <[email protected]> | 2007-07-15 23:40:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-16 09:05:45 -0700 |
| commit | cc1ed7542c8c26af0f501da8006b9fce03e9aaca (patch) | |
| tree | f618c959d3740151de50ba59b13c3af8d00a3b71 /tools/perf/scripts/python | |
| parent | 4a19542e5f694cd408a32c3d9dc593ba9366e2d7 (diff) | |
init: wait for asynchronously scanned block devices
Some buses (e.g. USB and MMC) do their scanning of devices in the
background, causing a race between them and prepare_namespace(). In order
to be able to use these buses without an initrd, we now wait for the device
specified in root= to actually show up.
If the device never shows up than we will hang in an infinite loop. In
order to not mess with setups that reboot on panic, the feature must be
turned on via the command line option "rootwait".
[[email protected]: root_wait can become static]
Signed-off-by: Pierre Ossman <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions