diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-20 19:31:34 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2009-05-20 19:31:34 -0700 |
commit | 463de48fb05cb29388e7763f75f6cfa56a2f5cb1 (patch) | |
tree | c5303f89f53c9c1f18e96cea0976b6db905ae4ed | |
parent | db017545796747115b8797f03e662b0f398a7c7b (diff) | |
parent | 23eaecf02dedf0a5a25e1cdbfdfc7b8c70c17a56 (diff) | |
download | system_core-463de48fb05cb29388e7763f75f6cfa56a2f5cb1.zip system_core-463de48fb05cb29388e7763f75f6cfa56a2f5cb1.tar.gz system_core-463de48fb05cb29388e7763f75f6cfa56a2f5cb1.tar.bz2 |
Merge change 2162 into donut
* changes:
Mount SD card synchronous. This is an experimental change intended to give us another data point on the system performance regressions that seem to revolved around SD card access.
-rw-r--r-- | vold/volmgr_vfat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vold/volmgr_vfat.c b/vold/volmgr_vfat.c index 2b0e1fa..4013df8 100644 --- a/vold/volmgr_vfat.c +++ b/vold/volmgr_vfat.c @@ -110,7 +110,7 @@ int vfat_mount(blkdev_t *dev, volume_t *vol, boolean safe_mode) LOG_VOL("vfat_mount(%d:%d, %s, %d):", dev->major, dev->minor, vol->mount_point, safe_mode); #endif - flags = MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_DIRSYNC; + flags = MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_DIRSYNC | MS_SYNCHRONOUS; if (vol->state == volstate_mounted) { LOG_VOL("Remounting %d:%d on %s, safe mode %d", dev->major, |