From 667ae11d8cc5850fe0fc6a0bc6b61be753ce9028 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Tue, 4 Jun 2019 16:07:43 +0200 Subject: [PATCH] d855: 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: I412ed9b0a885668ebe4c6c677a3bd0cd7f44080b --- rootdir/etc/fstab.g3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/fstab.g3 b/rootdir/etc/fstab.g3 index 111be23..5cbe792 100644 --- a/rootdir/etc/fstab.g3 +++ b/rootdir/etc/fstab.g3 @@ -7,8 +7,8 @@ # /dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1,noatime wait,recoveryonly -/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/encrypt -/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noatime,noauto_da_alloc,errors=continue,journal_async_commit wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/encrypt +/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/encrypt,reservedsize=128M +/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noatime,noauto_da_alloc,errors=continue,journal_async_commit wait,check,formattable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/encrypt,reservedsize=128M /dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs rw,nosuid,nodev,noatime,nodiratime,inline_xattr wait,check,formattable /dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,journal_async_commit wait,check,formattable /dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic wait,notrim