Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47a95af8 authored by Kelvin Zhang's avatar Kelvin Zhang
Browse files

Add debug logs to understand slow update start issue

Test: th
Bug: 352332753
Change-Id: I2d8f99217722479dcae2e2ea0f74bbf112725ce2
parent 196a8023
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2866,10 +2866,12 @@ bool SnapshotManager::UnmapAllSnapshots() {
}

bool SnapshotManager::UnmapAllSnapshots(LockedFile* lock) {
    LOG(INFO) << "Lock acquired for " << __FUNCTION__;
    std::vector<std::string> snapshots;
    if (!ListSnapshots(lock, &snapshots)) {
        return false;
    }
    LOG(INFO) << "Found " << snapshots.size() << " partitions with snapshots";

    for (const auto& snapshot : snapshots) {
        if (!UnmapPartitionWithSnapshot(lock, snapshot)) {