diff options
author | Prashant Malani <pmalani@google.com> | 2016-10-27 16:15:41 -0700 |
---|---|---|
committer | bowgotsai <bowgotsai@google.com> | 2017-01-11 22:00:25 +0800 |
commit | 2cdc67eed50da046b1e78728f2563fc3db6f8927 (patch) | |
tree | 518f8ed4613c9ee0915dbdc230b56c97108b75cd /libutils/ProcessCallStack.cpp | |
parent | 6ad690dfd492ea23517ca908ed75a86fecfd31b5 (diff) |
fs_mgr: Add support for at-boot verification
Running dm-verity on heavily accessed partitions leads to performance
slowdowns, especially on low-RAM and slow-CPU devices.
This patch introduces a flag to allow an entire verified partition to be
read once at boot, to check for corruptions. If the reads are
successful, we can mount the partition as raw & read-only, and if not,
we can revert to mounting it as a verity partition, just like before.
Usage of this flag will entail a slowdown of time-to-boot, but should
lead to improvements in runtime performance.
(cherry picked from commit 34543c03e6319d102bc0b1e3ca54808ff398e676)
Bug: 32433608
Test: Compile
Change-Id: I97717683a00ad6fa347e63b72b1a9bf1d2946315
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions