land: Disable atime on /data and /cache

Simple RO operations will touch the atime value, triggering writes.
This is bad for performance and flash lifetime.

Change-Id: I80626c8b60fbafe16cc833975cea22684343c6d0
This commit is contained in:
Zhao Wei Liew 2017-01-02 19:22:42 +08:00
parent 28693e9528
commit 43522be692

View file

@ -6,10 +6,10 @@
/dev/block/bootdevice/by-name/boot /boot emmc defaults defaults /dev/block/bootdevice/by-name/boot /boot emmc defaults defaults
/dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults /dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults
/dev/block/bootdevice/by-name/system /system ext4 ro wait /dev/block/bootdevice/by-name/system /system ext4 ro wait
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,inline_xattr wait,formattable,check,forceencrypt=footer /dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,inline_xattr wait,formattable,check,forceencrypt=footer
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,noauto_da_alloc wait,formattable,check,forceencrypt=footer /dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,noatime,noauto_da_alloc wait,formattable,check,forceencrypt=footer
/dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,inline_xattr wait,formattable /dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr wait,formattable
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev wait,formattable /dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,noatime wait,formattable
/dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev wait /dev/block/bootdevice/by-name/persist /persist ext4 nosuid,nodev wait
/dev/block/bootdevice/by-name/dsp /dsp ext4 ro,nosuid,nodev wait /dev/block/bootdevice/by-name/dsp /dsp ext4 ro,nosuid,nodev wait
/dev/block/bootdevice/by-name/modem /firmware vfat ro,context=u:object_r:firmware_file:s0,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337 wait /dev/block/bootdevice/by-name/modem /firmware vfat ro,context=u:object_r:firmware_file:s0,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337 wait