Merge "libsnapshot: log compression algorithm" into main
This commit is contained in:
commit
7cf49320ba
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…
Add table
Reference in a new issue