Skip to content

blob_db: shrink growable settings files on existing devices [FIRM-1893] - #1279

Merged
jplexer merged 3 commits into
coredevices:mainfrom
jplexer:launcher_lag
May 13, 2026
Merged

jplexer merged 3 commits into
coredevices:mainfrom
jplexer:launcher_lag

Conversation

@jplexer

@jplexer jplexer commented May 13, 2026

Copy link
Copy Markdown
Member

The growable-settings-file change only shrinks newly-created files, so devices that shipped before it keep their full-size allocation indefinitely, which on devices with many installed apps shows up as launcher scroll lag. This adds *_compact() APIs on every settings-file-backed blob DB plus an aggregate blob_db_compact_growable_dbs() helper, runs it once at boot via a settingsDbsCompactedV1 shell pref gate, and exposes a Settings -> System -> Debug -> Compact Settings DBs entry to trigger it on demand.

@jplexer
jplexer requested a review from gmarull as a code owner May 13, 2026 09:50
jplexer added 3 commits May 13, 2026 12:36
Signed-off-by: Joshua Jun <lets@throw.rocks>
Signed-off-by: Joshua Jun <lets@throw.rocks>
Signed-off-by: Joshua Jun <lets@throw.rocks>
@jplexer
jplexer merged commit b335c6c into coredevices:main May 13, 2026
39 checks passed
@jplexer
jplexer deleted the launcher_lag branch May 20, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants