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.
This commit is contained in:
Dave Sparks 2009-05-20 19:12:58 -07:00
parent d4cdd13f6f
commit 23eaecf02d

View file

@ -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,