3
0

Remove DISCARD mount option from the /data fs

The DISCARD mount option should not be enabled in Android 4.3
and later for partitions that the OS trims automatically.
The presence of this option slows down the device.

Change-Id: Id61f64455190f5be6b12ee9027a996de66ec67a0
This commit is contained in:
Lanchon 2014-09-02 15:59:26 -03:00 committed by Ethan Chen
parent 4c66691ccc
commit 8949b4e66c

View File

@ -7,7 +7,7 @@
/dev/block/mmcblk0p9 /system ext4 ro,noatime wait
/dev/block/mmcblk0p7 /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check_spo
/dev/block/mmcblk0p1 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check_spo
/dev/block/mmcblk0p10 /data ext4 noatime,nosuid,nodev,discard,noauto_da_alloc,journal_async_commit,errors=panic wait,check_spo,encryptable=/efs/metadata
/dev/block/mmcblk0p10 /data ext4 noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic wait,check_spo,encryptable=/efs/metadata
/dev/block/mmcblk0p12 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait
# vold-managed volumes ("block device" is actually a sysfs devpath)