Add debug logs to understand slow update start issue
Test: th Bug: 352332753 Change-Id: I2d8f99217722479dcae2e2ea0f74bbf112725ce2
This commit is contained in:
parent
196a802384
commit
47a95af84f
1 changed files with 2 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue