OSDN Git Service
(root)
/
android-x86
/
system-vold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
210228a
)
Improve boot time by 0.1s by reducing a polling sleep interval
author
Paul Lawrence
<paullawrence@google.com>
Thu, 11 Jun 2015 18:15:29 +0000
(11:15 -0700)
committer
Paul Lawrence
<paullawrence@google.com>
Thu, 11 Jun 2015 18:36:18 +0000
(11:36 -0700)
Bug:
21516860
Change-Id: I9e28f4d9cc20ec2a7d9e325c02ef85f0ad9b3d60
cryptfs.c
patch
|
blob
|
history
diff --git
a/cryptfs.c
b/cryptfs.c
index
355d591
..
ecfc3a6
100644
(file)
--- a/
cryptfs.c
+++ b/
cryptfs.c
@@
-1413,7
+1413,7
@@
int wait_and_unmount(const char *mountpoint, bool kill)
return rc;
}
-#define DATA_PREP_TIMEOUT
2
00
+#define DATA_PREP_TIMEOUT
10
00
static int prep_data_fs(void)
{
int i;
@@
-1431,7
+1431,7
@@
static int prep_data_fs(void)
if (*p == '1') {
break;
} else {
- usleep(
2
50000);
+ usleep(50000);
}
}
if (i == DATA_PREP_TIMEOUT) {