Merge "Remove vold logs related to block devices"

This commit is contained in:
Nikita Ioffe 2021-07-28 11:01:01 +00:00 committed by Gerrit Code Review
commit cbf82ffa29
3 changed files with 1 additions and 5 deletions

View file

@ -94,8 +94,6 @@ int Devmapper::destroyAll() {
PLOG(WARNING) << "Failed to destroy dm device named " << device.name(); PLOG(WARNING) << "Failed to destroy dm device named " << device.name();
} }
} }
} else {
LOG(DEBUG) << "Found unmanaged dm device named " << device.name();
} }
} }
return 0; return 0;

View file

@ -163,8 +163,6 @@ int Loop::destroyAll() {
if (ioctl(fd.get(), LOOP_CLR_FD, 0) < 0) { if (ioctl(fd.get(), LOOP_CLR_FD, 0) < 0) {
PLOG(WARNING) << "Failed to LOOP_CLR_FD " << path; PLOG(WARNING) << "Failed to LOOP_CLR_FD " << path;
} }
} else {
LOG(DEBUG) << "Found unmanaged loop device at " << path << " named " << id;
} }
} }

View file

@ -239,7 +239,7 @@ void VolumeManager::handleBlockEvent(NetlinkEvent* evt) {
break; break;
} }
case NetlinkEvent::Action::kChange: { case NetlinkEvent::Action::kChange: {
LOG(DEBUG) << "Disk at " << major << ":" << minor << " changed"; LOG(VERBOSE) << "Disk at " << major << ":" << minor << " changed";
handleDiskChanged(device); handleDiskChanged(device);
break; break;
} }