diff options
| author | 2017-01-16 20:57:45 -0700 | |
|---|---|---|
| committer | 2017-01-16 20:59:01 -0700 | |
| commit | 66b1a12e7a120f85042669bb58f1db864616b506 (patch) | |
| tree | 14a1b8f61b9101305bc2e85abdc4e8b7766ba514 /vulkan/libvulkan/api.cpp | |
| 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
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions