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
1 file changed
tree: dc4c7fd799efa08d7625c19e9e77b0bd437d84f7
  1. apexd/
  2. apexer/
  3. testdata/
  4. Android.bp
  5. OWNERS
  6. PREUPLOAD.cfg