From 23eaecf02dedf0a5a25e1cdbfdfc7b8c70c17a56 Mon Sep 17 00:00:00 2001 From: Dave Sparks Date: Wed, 20 May 2009 19:12:58 -0700 Subject: [PATCH] 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. --- vold/volmgr_vfat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vold/volmgr_vfat.c b/vold/volmgr_vfat.c index 2b0e1fa1e..4013df889 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,