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
diff --git a/fs_mgr/libsnapshot/android/snapshot/snapshot.proto b/fs_mgr/libsnapshot/android/snapshot/snapshot.proto
index 6f31251..36300de 100644
--- a/fs_mgr/libsnapshot/android/snapshot/snapshot.proto
+++ b/fs_mgr/libsnapshot/android/snapshot/snapshot.proto
@@ -126,11 +126,9 @@
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 @@
// 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
@@ -285,12 +289,12 @@
}
message VerityHash {
- // Partition name
- string partition_name = 1;
+ // Partition name
+ string partition_name = 1;
- // Salt used for verity hashes
- string salt = 2;
+ // Salt used for verity hashes
+ string salt = 2;
- // sha256 hash values of each block in the image
- repeated bytes block_hash = 3;
+ // sha256 hash values of each block in the image
+ repeated bytes block_hash = 3;
}