summaryrefslogtreecommitdiff
path: root/debuggerd/libdebuggerd/utility.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-12-14 12:00:51 -0700
committerJeff Sharkey <jsharkey@android.com>2016-12-15 16:35:50 -0700
commit45fd39f3e97f0d19e3f285c0de26789e486dd9e2 (patch)
tree7fcd8a70a3ec7135cbb1daa6bb3b00491ba9ecfe /debuggerd/libdebuggerd/utility.cpp
parentf327d00896a6622a14491d75897d0ebc8e8bcf39 (diff)
Add fs_mgr option to enable/disable quotas.
To support upcoming disk usage calculation optimizations, this change adds a new 'quota' mount flag. As part of mounting an ext4 device, we now enable/disable the quota feature using tune2fs to match the requested value in the fstab. When changing the quota status, we force a fsck pass on the device before actually mounting it to prime the quota data structures which are stored in hidden inodes. Changing quota state and priming the data structures needs to happen before we actually mount the device, so fs_mgr is the best place to place this logic. Test: builds, boots, enables and disables quota Bug: 27948817 Change-Id: I7ccbf97cbc4a679bdd7a31a77be4b99aa9a88e66
Diffstat (limited to 'debuggerd/libdebuggerd/utility.cpp')
0 files changed, 0 insertions, 0 deletions