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

Issue 5516009: AU: Split applied update verification into a separate step. (Closed)

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

Description

AU: Split applied update verification into a separate step. Use instances of FilesystemCopierAction to do applied update verification. This speeds it up slightly because asynchronous reads happen in parallel with hash calculation but, more importantly, makes update_engine be responsive to D-Bus during that step. BUG=9140 TEST=unit tests, tested on device Change-Id: I3ec9445de5e8258a63433a61f1a476aef4434f6c Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=3aefa86

Patch Set 1 #

Patch Set 2 : fix a couple of bugs #

Patch Set 3 : support for old-style updates #

Total comments: 8

Patch Set 4 : improve performance #

Patch Set 5 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -136 lines) Patch
M action_processor.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M delta_performer.h View 1 2 3 4 4 chunks +15 lines, -11 lines 0 comments Download
M delta_performer.cc View 1 3 chunks +22 lines, -26 lines 0 comments Download
M delta_performer_unittest.cc View 2 chunks +23 lines, -3 lines 0 comments Download
M download_action.cc View 1 3 chunks +10 lines, -10 lines 0 comments Download
M filesystem_copier_action.h View 1 2 3 chunks +11 lines, -8 lines 0 comments Download
M filesystem_copier_action.cc View 1 2 3 7 chunks +72 lines, -43 lines 0 comments Download
M filesystem_copier_action_unittest.cc View 1 2 12 chunks +68 lines, -25 lines 0 comments Download
M generate_delta_main.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M install_plan.h View 2 chunks +19 lines, -3 lines 0 comments Download
M update_attempter.cc View 5 chunks +14 lines, -3 lines 0 comments Download
M update_attempter_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
petkov
10 years ago (2010-12-06 22:58:47 UTC) #1
adlr
LGTM if you address the feedback http://codereview.chromium.org/5516009/diff/4001/delta_performer.cc File delta_performer.cc (right): http://codereview.chromium.org/5516009/diff/4001/delta_performer.cc#newcode605 delta_performer.cc:605: kernel_hash->swap(new_kernel_hash); easier to ...
10 years ago (2010-12-07 02:22:20 UTC) #2
petkov
Addressed and responded to comments. PTAL. Thanks! http://codereview.chromium.org/5516009/diff/4001/delta_performer.cc File delta_performer.cc (right): http://codereview.chromium.org/5516009/diff/4001/delta_performer.cc#newcode605 delta_performer.cc:605: kernel_hash->swap(new_kernel_hash); On ...
10 years ago (2010-12-07 17:34:02 UTC) #3
adlr
10 years ago (2010-12-07 22:36:23 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698