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

Commit 09e081f9 authored by Daniel Zheng's avatar Daniel Zheng
Browse files

snapshot_proto add build configuration variables

We are adding low memory device configurables. Post OTA reboot, these
values need to be read during 1st stage init and set. Since .ro props
aren't available at this stage, we need to flush these configurables to
snapshot_protos that lives under /Metadata

Bug: 332255580
Test: th
Change-Id: Iff84c0dfe9c6931ea13165b380e11cee6343ce91
parent 6c0800fb
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -123,6 +123,15 @@ message SnapshotStatus {

    // Default value is 32, can be set lower for low mem devices
    uint32 read_ahead_size = 17;

    // Enable direct reads on source device
    bool o_direct = 18;

    // Blocks size to be verified at once
    uint64 verify_block_size = 19;

    // Default value is 2, configures threads to do verification phase
    uint32 num_verify_threads = 20;
}

// Next: 8