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

Issue 5684002: Add support for bsdiff of file system metadata blocks (Closed)

Created:
10 years ago by thieule
Modified:
9 years, 4 months ago
Reviewers:
petkov, dgarrett, adlr
CC:
chromium-os-reviews_chromium.org, petkov, adlr
Visibility:
Public.

Description

Add support for bsdiff of file system metadata blocks BUG=chromium-os:10188 TEST=Unit test, build delta update, apply to Mario and make sure it boots with new version Change-Id: I37b3fcc3c0e65e063cd95b0b3c9a5cd2261c98c9 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=5c7d975

Patch Set 1 #

Total comments: 34

Patch Set 2 : Addressed code review feedbacks and separated out new metadata code into its own files. #

Patch Set 3 : Forgot newly added metadata processing files. #

Total comments: 40

Patch Set 4 : Addressed code review feedbacks #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+868 lines, -105 lines) Patch
M SConstruct View 1 4 chunks +4 lines, -1 line 0 comments Download
M delta_diff_generator.h View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
M delta_diff_generator.cc View 1 2 3 5 chunks +91 lines, -79 lines 0 comments Download
M delta_diff_generator_unittest.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M delta_performer_unittest.cc View 1 chunk +0 lines, -21 lines 0 comments Download
A metadata.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A metadata.cc View 1 2 3 1 chunk +482 lines, -0 lines 0 comments Download
A metadata_unittest.cc View 1 2 3 1 chunk +157 lines, -0 lines 0 comments Download
M test_utils.h View 1 2 3 3 chunks +24 lines, -1 line 2 comments Download
M test_utils.cc View 1 3 chunks +26 lines, -1 line 0 comments Download
M utils.h View 1 2 3 3 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
thieule
Modify delta_generator to be aware of the file system metadata. This CL alone does not ...
10 years ago (2010-12-09 23:55:18 UTC) #1
petkov
Good stuff. Some comments below. Where's the "other" CL that makes the image contents align? ...
10 years ago (2010-12-10 00:46:55 UTC) #2
petkov
Btw, issue 7220 is closed. Can you file a new issue to cover what you're ...
10 years ago (2010-12-10 01:05:45 UTC) #3
adlr
Thieu, if you've split parts of this out or made fixes based on Darin's comments, ...
10 years ago (2010-12-13 21:15:07 UTC) #4
thieule
I've addressed the code review feedbacks and have also separated out the new metadata code ...
10 years ago (2010-12-14 23:11:20 UTC) #5
thieule
Forgot to add the new metadata files to the CL. PTAL
10 years ago (2010-12-15 00:38:58 UTC) #6
adlr
http://codereview.chromium.org/5684002/diff/15001/delta_diff_generator.h File delta_diff_generator.h (right): http://codereview.chromium.org/5684002/diff/15001/delta_diff_generator.h#newcode227 delta_diff_generator.h:227: bool BsdiffFiles(const std::string& old_file, can these be static methods ...
10 years ago (2010-12-15 03:11:22 UTC) #7
petkov
Mostly style nits. Is this change somewhat dependent on the build_image change? I.e., what happens ...
10 years ago (2010-12-15 18:40:32 UTC) #8
thieule
Addressed code review feedbacks. PTAL http://codereview.chromium.org/5684002/diff/15001/delta_diff_generator.h File delta_diff_generator.h (right): http://codereview.chromium.org/5684002/diff/15001/delta_diff_generator.h#newcode227 delta_diff_generator.h:227: bool BsdiffFiles(const std::string& old_file, ...
10 years ago (2010-12-15 19:57:01 UTC) #9
petkov
Looks good, one question below. Also, how does this change play in the presence of ...
10 years ago (2010-12-15 23:30:16 UTC) #10
thieule
So I ran a test using two unaligned images. The first test uses the original ...
10 years ago (2010-12-15 23:43:24 UTC) #11
thieule
http://codereview.chromium.org/5684002/diff/28001/test_utils.h File test_utils.h (right): http://codereview.chromium.org/5684002/diff/28001/test_utils.h#newcode228 test_utils.h:228: // These objects must be destructed in the following ...
10 years ago (2010-12-15 23:43:39 UTC) #12
petkov
LGTM
10 years ago (2010-12-15 23:47:05 UTC) #13
adlr
10 years ago (2010-12-15 23:51:49 UTC) #14
LGTM from me as well!

Thanks, Thieu!

Powered by Google App Engine
This is Rietveld 408576698