system/corennnnn
修订版 | 23eaecf02dedf0a5a25e1cdbfdfc7b8c70c17a56 (tree) |
---|---|
时间 | 2009-05-21 11:12:58 |
作者 | Dave Sparks <davidsparks@andr...> |
Commiter | Dave Sparks |
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.
@@ -110,7 +110,7 @@ int vfat_mount(blkdev_t *dev, volume_t *vol, boolean safe_mode) | ||
110 | 110 | LOG_VOL("vfat_mount(%d:%d, %s, %d):", dev->major, dev->minor, vol->mount_point, safe_mode); |
111 | 111 | #endif |
112 | 112 | |
113 | - flags = MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_DIRSYNC; | |
113 | + flags = MS_NODEV | MS_NOEXEC | MS_NOSUID | MS_DIRSYNC | MS_SYNCHRONOUS; | |
114 | 114 | |
115 | 115 | if (vol->state == volstate_mounted) { |
116 | 116 | LOG_VOL("Remounting %d:%d on %s, safe mode %d", dev->major, |