• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

修订版23eaecf02dedf0a5a25e1cdbfdfc7b8c70c17a56 (tree)
时间2009-05-21 11:12:58
作者Dave Sparks <davidsparks@andr...>
CommiterDave Sparks

Log Message

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.

更改概述

差异

--- 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)
110110 LOG_VOL("vfat_mount(%d:%d, %s, %d):", dev->major, dev->minor, vol->mount_point, safe_mode);
111111 #endif
112112
113- flags = MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_DIRSYNC;
113+ flags = MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_DIRSYNC | MS_SYNCHRONOUS;
114114
115115 if (vol->state == volstate_mounted) {
116116 LOG_VOL("Remounting %d:%d on %s, safe mode %d", dev->major,