commit | 66b1a12e7a120f85042669bb58f1db864616b506 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Jan 16 20:57:45 2017 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Jan 16 20:59:01 2017 -0700 |
tree | 14a1b8f61b9101305bc2e85abdc4e8b7766ba514 | |
parent | 7a9059e8ed297a8e025c843b632c7c8571682b46 [diff] |
Handle devices without quota, speed up lookup. Start tracking which block devices have quota support, and gracefully clear FLAG_USE_QUOTA when no support is present. Also build a cached map of mounted volumes that support quota, which halves the average quota calculation speed from 0.70ms to 0.35ms, since we're no longer parsing procfs every time. Test: builds, boots, common operations work Bug: 34249218 Change-Id: Ie791df7801b67495331f3eea256c018860c9b4f6