Skip to content
Snippets Groups Projects
Commit 764641f4 authored by Derek Gonyeo's avatar Derek Gonyeo Committed by CQ bot account: commit-bot@chromium.org
Browse files

[appmgr] disable storage watchdog

The current implementation of the storage watchdogs checks usage against
minfs allocation size, whereas it should be checking it against the
maximum size of the partition.

CF-736 #comment

Change-Id: Ice62267d9d3dadd076745d4b87c42aef734b6882
parent 11313c8d
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,8 @@ Appmgr::Appmgr(async_dispatcher_t* dispatcher, AppmgrArgs args)
sysmgr_permanently_failed_(false),
storage_watchdog_(StorageWatchdog("/data", "/data/cache")) {
// 0. Start storage watchdog for cache storage
storage_watchdog_.Run(dispatcher);
// TODO(CF-736): improve StorageWatchdog::GetStorageUsage and reenable
// storage_watchdog_.Run(dispatcher);
// 1. Create root realm.
RealmArgs realm_args = RealmArgs::Make(
nullptr, kRootLabel, "/data", "/data/cache", args.environment_services,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment