summaryrefslogtreecommitdiff
path: root/services/incremental/IncrementalService.h
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2021-03-24 00:46:29 -0700
committer Alex Buynytskyy <alexbuy@google.com> 2021-03-24 15:05:17 +0000
commit4cd249257638993be352ba607f8a81a534ddb199 (patch)
treec18a347aaf7c440db6022ab49c5e36f9b2f3cb89 /services/incremental/IncrementalService.h
parent16828074ec56fe8a2393bfcbf341cbdbaddd07cf (diff)
[incfs] Space trimming for IncFS v1
Run a manual timed job that trims all files one by one on the old version of IncFS, where it didn't do it automatically. Bug: 183435580 Fixes: 183436717 Test: atest libincfs-test service.incremental_test Change-Id: I57885b2826e383814822c767802f837135fd8464
Diffstat (limited to 'services/incremental/IncrementalService.h')
-rw-r--r--services/incremental/IncrementalService.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/incremental/IncrementalService.h b/services/incremental/IncrementalService.h
index a697305457f8..fb6f56c9166e 100644
--- a/services/incremental/IncrementalService.h
+++ b/services/incremental/IncrementalService.h
@@ -452,6 +452,8 @@ private:
StorageLoadingProgressListener&& progressListener);
long getMillsSinceOldestPendingRead(StorageId storage);
+ void trimReservedSpaceV1(const IncFsMount& ifs);
+
private:
const std::unique_ptr<VoldServiceWrapper> mVold;
const std::unique_ptr<DataLoaderManagerWrapper> mDataLoaderManager;