summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-03-20 12:06:59 -0700
committerSvetoslav <svetoslavganov@google.com>2013-03-22 10:42:24 -0700
commita7452ee27de35e75b234adcf143c18f85d3f1aad (patch)
tree6aaec7c1e6ccdb46ccddc8306190e23cc5e74dc2 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent31453e5a2b5150a18c41b8bebd85223615ad8849 (diff)
[DO NOT MERGE] Notify vold when to start fstrim.
Since using the discard option for mounting an Ext4 file system could lead to unpredictable slowdowns of I/O we will explicitly control when to perform fstrim, i.e. discard unused blocks of the mounted volume. We are using the idle maintenance intents sent by the system which specify a window that one can use to perform expensive maintenance tasks while the user does not use the device. This change is adding a broadcast receiver for the idle maintenance start intent to the mount services which then notifies vold when to start fstrim. Since fstrim will be run on a daily basis we do not expect fstrim to be too long, so it is not interruptible. We will implement interruption only in case we see issues. bug:8056794 Change-Id: I1438479d2956b61b82d3a130854376f7a144aaf3
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions