Remove vold logs related to block devices
Since every APEX requires at least one loop device, now most of the block devices on a device are not managed by vold. This change removes some log statements around block devices that vold is not aware of. Test: device boots Test: adb logcat Change-Id: I8efa22023c1f888e75f40178fac464af4457df3c
This commit is contained in:
parent
2d76731968
commit
b881fc4feb
3 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||||
|
|
2
Loop.cpp
2
Loop.cpp
|
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue