Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: delta_diff_generator.cc

Issue 3828003: AU: Increase full update chunk size to 1MiB (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: delta_diff_generator.cc
diff --git a/delta_diff_generator.cc b/delta_diff_generator.cc
index 30110261c69f64df2705ae7c6c98aada6e4b6de6..43192ee31ac9dd67475823893aa947e462155b99 100644
--- a/delta_diff_generator.cc
+++ b/delta_diff_generator.cc
@@ -50,9 +50,9 @@ typedef DeltaDiffGenerator::Block Block;
namespace {
const size_t kBlockSize = 4096; // bytes
-const size_t kRootFSPartitionSize = 1 * 1024 * 1024 * 1024; // 1 GiB
+const size_t kRootFSPartitionSize = 1 * 1024 * 1024 * 1024; // bytes
const uint64_t kVersionNumber = 1;
-const uint64_t kFullUpdateChunkSize = 128 * 1024; // bytes
+const uint64_t kFullUpdateChunkSize = 1024 * 1024; // bytes
static const char* kInstallOperationTypes[] = {
"REPLACE",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698