commit | 440e096009ca5e20ae76afa238405697b0c40c4f | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Thu Feb 16 18:34:31 2017 -0800 |
committer | Jin Qian <jinqian@google.com> | Thu Feb 16 18:46:41 2017 -0800 |
tree | 469866b12bb91b6fdc1cb4994cefc67b532a3045 | |
parent | 18bfb08564743fa4242f2f42a0fa83150879ecb0 [diff] |
storaged: handle negative delta in io usage When UID is uninstalled and reinstalled, IO usage of the UID is reset. This caused problem in accounting since it assumes IO usage is always increasing for the same UID. In such case, use the current usage instead of negative delta for accounting. Bug: 34198239 Change-Id: I74661feccc05d19ba8a0feff8a2e38d72c7d1465