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

Commit ccdfbe55 authored by Daniel Zheng's avatar Daniel Zheng
Browse files

remove verification tunable from per thread proto

These tunables should exist as a global rather than a per snapshot basis.
Moving them here.

Bug: 332255580
Test: th
Change-Id: I740a9dd09f3d83e65803318222c2fd09e8fefe40
parent 2c994f92
Loading
Loading
Loading
Loading
+14 −10
Original line number Diff line number Diff line
@@ -126,11 +126,9 @@ message SnapshotStatus {

    reserved 18;

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

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

// Next: 8
@@ -235,6 +233,12 @@ message SnapshotUpdateStatus {

    // Number of worker threads to serve I/O from dm-user
    uint32 num_worker_threads = 14;

    // Block size to be verified after OTA reboot
    uint64 verify_block_size = 15;

    // Default value is 3, configures threads to do verification phase
    uint32 num_verification_threads = 16;
}

// Next: 10