commit | bc400ae95492e43b1d69934c594f9ebf27d7fa03 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Thu Nov 08 14:05:49 2018 +0100 |
committer | Martijn Coenen <maco@google.com> | Thu Nov 08 13:24:14 2018 +0000 |
tree | dc4c7fd799efa08d7625c19e9e77b0bd437d84f7 | |
parent | 16cbb56b464a51cbbf33c8e49d906ea63632b1c0 [diff] |
Configure read-ahead of dm-verity devices. For the /system and /vendor partitions, read-ahead is configured at 2048kB during boot and 128kB afterwards. Until we have clear data that 2048kB is better, explicitly stick to 128kB. We don't need to set read-ahead on the loop devices, because we will use Direct I/O on them, which disables read-ahead. Bug: 117823094 Test: cat /sys/block/dm-2/queue/read_ahead_kb says 128 Change-Id: I4a5a2ae57f0ff60bbdb6f7717b5799546fe0eb30