Merge "libsnapshot: log compression algorithm" into main am: 7cf49320ba
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2972271 Change-Id: I8f6f3787dd3cf730e110137abbd436e72d7d072e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
fd81c5e306
2 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,6 @@ bool CowWriterV3::ParseOptions() {
|
|||
return false;
|
||||
}
|
||||
|
||||
LOG(INFO) << "Compression factor: " << header_.max_compression_size;
|
||||
num_compress_threads_ = std::max(int(options_.num_compress_threads), 1);
|
||||
auto parts = android::base::Split(options_.compression, ",");
|
||||
if (parts.size() > 2) {
|
||||
|
|
|
@ -3242,6 +3242,8 @@ Return SnapshotManager::CreateUpdateSnapshots(const DeltaArchiveManifest& manife
|
|||
// Older OTAs don't set an explicit compression type, so default to gz.
|
||||
compression_algorithm = "gz";
|
||||
}
|
||||
LOG(INFO) << "using compression algorithm: " << compression_algorithm
|
||||
<< ", max compressible block size: " << compression_factor;
|
||||
}
|
||||
|
||||
PartitionCowCreator cow_creator{
|
||||
|
|
Loading…
Reference in a new issue