Home
last modified time | relevance | path

Searched refs:gc_path (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/health/storage/impl_common/
Dimpl_common.cpp62 std::string gc_path = GetGarbageCollectPath(); in GarbageCollect() local
64 if (gc_path.empty()) { in GarbageCollect()
71 LOG(INFO) << "Start Dev GC on " << gc_path; in GarbageCollect()
74 if (!ReadFileToString(gc_path, &require_gc)) { in GarbageCollect()
75 PLOG(WARNING) << "Reading manual_gc failed in " << gc_path; in GarbageCollect()
97 LOG(DEBUG) << "Trigger Dev GC on " << gc_path << " having " << require_gc << ", WB on " in GarbageCollect()
99 if (!WriteStringToFile("1", gc_path)) { in GarbageCollect()
100 PLOG(WARNING) << "Start Dev GC failed on " << gc_path; in GarbageCollect()
111 LOG(INFO) << "Stop Dev GC on " << gc_path; in GarbageCollect()
112 if (!WriteStringToFile("0", gc_path)) { in GarbageCollect()
[all …]