android_system_core/storaged
Mark Salyzyn 79fc288f10 storaged: protect global proto_loaded
proto_loaded is not thread safe, so we must protect it with
a mutex proto_lock.

Signed-off-by: hanhongli@360.cn
Signed-off-by: gongguang@360.cn
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 170732441
Test: compile
Change-Id: I93416598b6047e890c66b922b360093aa42db8c5
(cherry picked from commit d179cbcdc2)
2020-12-15 21:46:28 +00:00
..
binder/android/os Provide Recent Disk Perf via IStoraged 2018-01-08 19:06:22 -08:00
include storaged: protect global proto_loaded 2020-12-15 21:46:28 +00:00
tests storaged: Cap io_history when loading stats from disk. 2018-08-21 09:20:40 -07:00
tools storaged: add parser for dumpsys storaged output 2017-08-09 15:25:19 -07:00
Android.bp Remove libhwbinder/libhidltransport deps 2019-09-05 14:17:42 -07:00
EventLogTags.logtags storaged: change uid_io reporting 2017-01-30 14:22:49 -08:00
main.cpp storaged: ignore SIGPIPE 2020-03-18 13:53:15 -07:00
OWNERS storaged: update OWNERS 2018-04-11 18:50:14 -07:00
README.properties storaged: read emmc health data from sysfs 2017-04-03 16:48:14 +00:00
storaged.cpp storaged: protect global proto_loaded 2020-12-15 21:46:28 +00:00
storaged.proto storaged: align buffer address and size for direct_io 2017-12-13 15:54:55 -08:00
storaged.rc Merge "storaged: lower capabilities in init" am: 183b575e78 2018-04-12 09:41:00 -07:00
storaged_diskstats.cpp storaged: replace LOG_TO() macros with LOG() 2020-01-10 17:10:58 -08:00
storaged_info.cpp storaged: replace LOG_TO() macros with LOG() 2020-01-10 17:10:58 -08:00
storaged_service.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
storaged_uid_monitor.cpp storaged: replace LOG_TO() macros with LOG() 2020-01-10 17:10:58 -08:00
storaged_utils.cpp storaged: split proto file into multiple CE areas 2017-10-31 14:31:13 -07:00
uid_info.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00

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