summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSandeep Patil <sspatil@google.com>2019-04-15 09:27:30 -0700
committerSandeep Patil <sspatil@google.com>2019-04-15 10:10:44 -0700
commit7d5c491a18fb8b43046a3580569b187a25216da1 (patch)
treee19fbee96f005669af72e8216e4d631f6b4d6328 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentddba88ea71763afdf0a90e0acf34d8345361a836 (diff)
storagemenager: Skip fstrim while doing block based checkpoint
Block based chckpointing process runs fstrim. So, in cases where framework triggered fstrim during post-OTA boot based on the "last fstrim time", we were trimming the filesystem twice. This is particularly problematic with checkpointing in progress as it slows down the system i/o dramatically. In order to mitigate that scenario, skip the boot time idle maintenance/fstrim if checkpointing is in progress and we are using block based checkpointing. Bug: 120095226 Test: Tested by forcing /data/system/last-fstrim last modified time back 2 years & manually trigger checkpoint using 'vdc checkpoint startCheckpoint 1' Signed-off-by: Sandeep Patil <sspatil@google.com> Change-Id: I78aecf51bd6df1b13e901aea0bb8eaf1bd9269a2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions