summaryrefslogtreecommitdiff
path: root/action_processor.h
diff options
context:
space:
mode:
authorDarin Petkov <petkov@chromium.org>2013-04-25 14:46:09 +0200
committerChromeBot <chrome-bot@google.com>2013-04-30 06:01:12 -0700
commit8a075a75a13a2b182c229f3095c20e69f8f8f999 (patch)
treea055c93def5a0cccf436a735ec25f436a27143ea /action_processor.h
parentf413fe59759c73d6a5624c2158260b4302d01fe2 (diff)
AU: Handle moving of sparse block extents correctly in DeltaPerformer.
Rather than reading from sparse holes, just reset the buffer with zeros. Drop writes to sparse holes (and DCHECK that the data to be written is all zeros). This patch also adds the following tests: - Move a file of zeros into a sparse file. - Move a sparse file into a file of zeros. - Move a partially sparse file. BUG=chromium:196378 TEST=unit tests Change-Id: Idab8d44b391fbe7714c7fd53f7f383c9bf81edc1 Reviewed-on: https://gerrit.chromium.org/gerrit/49172 Commit-Queue: Darin Petkov <petkov@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org> Tested-by: Darin Petkov <petkov@chromium.org>
Diffstat (limited to 'action_processor.h')
0 files changed, 0 insertions, 0 deletions