diff options
author | Jungseung Lee <[email protected]> | 2016-12-12 16:46:43 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-12-12 18:55:10 -0800 |
commit | 39a0e975c37dee93fa1b8ea5f7eacd1c4c8a586e (patch) | |
tree | 34df14285ce89f83a93f6053a897bcd371dc1e15 | |
parent | 30f74aa0854c2d5a331b507b14fe421ba4980511 (diff) |
init: reduce rootwait polling interval time to 5ms
For several devices, the rootwait time is sensitive because it directly
affects booting time. The polling interval of rootwait is currently
100ms. To save unnessesary waiting time, reduce the polling interval to
5 ms.
[[email protected]: remove used-once #define]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jungseung Lee <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | init/do_mounts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c index dea5de95c2dd..c2de5104aad2 100644 --- a/init/do_mounts.c +++ b/init/do_mounts.c @@ -588,7 +588,7 @@ void __init prepare_namespace(void) saved_root_name); while (driver_probe_done() != 0 || (ROOT_DEV = name_to_dev_t(saved_root_name)) == 0) - msleep(100); + msleep(5); async_synchronize_full(); } |