Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abd35527 authored by Daniel Zheng's avatar Daniel Zheng Committed by Gerrit Code Review
Browse files

Merge "libsnapshot: remove temporary solution" into main

parents ea88c191 da960a13
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -214,15 +214,6 @@ bool CowWriterV3::Initialize(std::optional<uint64_t> label) {
            return false;
        }
    }

    // TODO: b/322279333
    // Set compression factor to 4k during estimation.
    // Once COW estimator is ready to support variable
    // block size, this check has to be removed.
    if (IsEstimating()) {
        header_.max_compression_size = header_.block_size;
    }

    return true;
}