94b64ef332
protobuf is only needed when serializing/deserializing data. Instead of maintaining a permanent buffer in storaged object, move the container to stack so that the buffer is released when we don't need it. In addition, we don't need to clear the buffer before updating it. Also added a function to clear user io history when the user is removed. Bug: 63740245 Change-Id: Ia5d19b9a0c3f92a93b061a56be89bb0b958a2a29 |
||
---|---|---|
.. | ||
binder/android/os | ||
include | ||
tests | ||
tools | ||
Android.bp | ||
EventLogTags.logtags | ||
main.cpp | ||
README.properties | ||
storaged.cpp | ||
storaged.proto | ||
storaged.rc | ||
storaged_diskstats.cpp | ||
storaged_info.cpp | ||
storaged_service.cpp | ||
storaged_uid_monitor.cpp | ||
storaged_utils.cpp | ||
uid_info.cpp |
ro.storaged.event.interval # interval storaged scans for IO stats, in seconds ro.storaged.event.perf_check # check for time spent in event loop, in microseconds ro.storaged.disk_stats_pub # interval storaged publish disk stats, in seconds ro.storaged.uid_io.interval # interval storaged checks Per UID IO usage, in seconds ro.storaged.uid_io.threshold # Per UID IO usage limit, in bytes