summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2017-01-16 20:57:45 -0700
committer Jeff Sharkey <jsharkey@android.com> 2017-01-16 20:59:01 -0700
commit66b1a12e7a120f85042669bb58f1db864616b506 (patch)
tree14a1b8f61b9101305bc2e85abdc4e8b7766ba514 /vulkan/libvulkan/api.cpp
parent7a9059e8ed297a8e025c843b632c7c8571682b46 (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