Commit Graph

17 Commits

Author SHA1 Message Date
Jaegeuk Kim
e982cf1e4b fstab: use "sync" for /metadata
/metadata should be synchronous enoughly to avoid boot failure.

Bug: 134172577
Change-Id: I342b1eab9b3b79024deebe039e07d0aa93209148
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2019-06-05 19:42:17 -07:00
Paul Lawrence
e2740d3b24 Enable user data checkpoint on Wahoo
Bug: 119769411
Test: boots to SUW, upgrades and commits, can reboot in checkpoint
      mode many times to test restore
Change-Id: Ie3aa79b2838d654062bd9f5bd27b20561ce3e848
2019-02-12 14:12:13 -08:00
Tim Murray
1a0605763b wahoo: increase ZRAM to 2GB
Test: TH
bug: 119988524
Change-Id: Ice7d5b54f74d1738b302841ae49e290f2068baff
2019-02-04 18:05:46 +00:00
Minchan Kim
26f37008f6 Change zram swap size and swappiness
This CL increase zram swap size from 512M to 1024M of p17.
It also increase swappiness from 60 to 100.
It has more benefit for overall system performance.
Detail is in the bug.

Bug: 117522738
Test: confirmed zram size and swappiness change manually
Change-Id: If75e47962915f6d4957e5fa9337e40dd6878fa65
Signed-off-by: Minchan Kim <minchan@google.com>
2018-10-21 09:12:36 +09:00
Jeff Sharkey
359818ed27 Reserve 128MB for critical system components.
We recently created a new GID that can be granted to critical system
processes, so that the system is usable enough for the user to free
up disk space used by abusive apps.

128MB ought to be enough for anybody.

Test: builds, boots
Bug: 62024591

Change-Id: I54bfde3fb1a198f6f6c0e03c4bf21e48324ed8fc
2018-01-05 17:24:18 -07:00
Paul Lawrence
868dfd37b7 Remove metadata from fstab since no metadata encryption this year
Bug: 62730106
Test: Muskie boots
Change-Id: Idac8d532bf6a67c82b726c81e0c47033033a3e72
2017-06-23 14:41:20 -07:00
Wei Wang
69d4b1b099 fstab: panic when error in userdata
Explicit kernel panic since device is not reliable usable after this
hits.

Bug: 62257194
Test: check mount after boot
Change-Id: I5758345ab52bb1199a59850f20f606162ec4b28c
2017-06-19 15:22:53 -07:00
TreeHugger Robot
033fd370dd Merge "Add quota support to data partition" 2017-05-23 20:52:29 +00:00
Wei Wang
88f424e979 wahoo: tune zram performance
-Switch to LZ4 for better overall performance
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
-Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram

Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
2017-05-17 16:19:32 -07:00
Patrick Tjin
33d623d0ca Add quota support to data partition
Bug: 38351804
Test: boot
Change-Id: Ibe884310960f88ce7dd757a50b232fc70ae89274
2017-05-17 13:35:39 -07:00
Wei Wang
5db9bb4b63 Enable ZRAM on wahoo
Bug: 38242009
Bug: 37765310
Test: boot and dumpsys meminfo
Change-Id: Ibd89d8c102ca33bc878b91dbf8e76a6f37c6f0a0
2017-05-11 15:27:27 -07:00
Thierry Strudel
a8ed387f1c fstab.hardware: disable metadata encryption
Bug: 38137299
Bug: 38133157
Change-Id: I4bae0df21238126fcadce48697ecba91b05ef057
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-09 12:20:47 -07:00
Thierry Strudel
36d09bf13f move fstab and BOARD_AVB_ENABLE to wahoo
Change-Id: I057403bb22241cc756f714019f4c2d2efeb4cd3e
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-09 12:20:01 -07:00
Vineeta Srivastava
6391a9f523 Split fstab from wahoo
Change-Id: I37ae0d2b5d1a12a513744b8f59cdc71aaf26dba1
2017-04-03 18:11:10 -07:00
Yueyao Zhu
04aa53c74f early_mount: remove /vendor entry from fstab
/vendor is mounted using fstab entry provided through
the device tree.

Test: muskie boots

Bug: 36024481
Change-Id: Id48b118e5770c0c0f904b70a683df9bf90acd2b1
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-03-20 21:07:17 -07:00
Thierry Strudel
343ccbc641 fstab.hardware: userdata add 'formattable' flag
Allows device to boot when it's empty or erased.

Change-Id: I0cd4dc775b72ba73a42ed974e67fa43b31d08e8b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-07 14:21:21 -08:00
Thierry Strudel
4e18dc435b Import common file from device specific directory
Test: boot, basic functionality
Change-Id: I9c07718b481730c3388f99c5e1eff17c9fd75a7b
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-03-04 23:34:45 -08:00