diff options
author | Vineeta Srivastava <vsrivastava@google.com> | 2015-06-08 12:24:06 -0700 |
---|---|---|
committer | Vineeta Srivastava <vsrivastava@google.com> | 2015-06-08 13:57:00 -0700 |
commit | c5c533467790d3900d4ef9035c06063da4d89206 (patch) | |
tree | cb45206ff725edf8122bb60bf7872c00354dc9de /fstab.bullhead | |
parent | e9df86fe8245db4af35a605cefc8a8faee7654fd (diff) | |
download | bullhead-c5c533467790d3900d4ef9035c06063da4d89206.tar.gz |
Enable dm-verity on bullhead
Enable dm-verity for the system partition. Store state in the metadata
partition, and display a warning if dm-verity is started in logging
mode.
Increasing read-ahead for dm-verity devices from the default 512 to
2048 improves sequential read speeds 13-18% for block sizes 1k-2k and
~30% for larger block sizes (tested up to 32k), without considerably
affecting 512 byte block reads.
Bug: 21604645
Change-Id: I6e52fa9edc519139890b12f653ade9d26dddafbd
Diffstat (limited to 'fstab.bullhead')
-rw-r--r-- | fstab.bullhead | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fstab.bullhead b/fstab.bullhead index 02bc04e..84efe5c 100644 --- a/fstab.bullhead +++ b/fstab.bullhead @@ -3,7 +3,7 @@ # The filesystem that contains the filesystem checker binary (typically /system) cannot # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK -/dev/block/platform/soc.0/f9824900.sdhci/by-name/system /system ext4 ro,barrier=1 wait +/dev/block/platform/soc.0/f9824900.sdhci/by-name/system /system ext4 ro,barrier=1 wait,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata /dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor /vendor ext4 ro,barrier=1 wait /dev/block/platform/soc.0/f9824900.sdhci/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check,encryptable=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata /dev/block/platform/soc.0/f9824900.sdhci/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check |