diff options
author | Amin Hassani <ahassani@google.com> | 2017-09-19 17:19:34 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-09 22:23:49 -0700 |
commit | a3fc20af5ea6b75c568122065f487b23aaabf1d2 (patch) | |
tree | ab6e9fb110b2cebaed605c7ef1c1485478d58522 /scripts/update_payload/checker_unittest.py | |
parent | cf5f1f1420b472477317b0ea0fa7f6456d2605cf (diff) |
update_engine: Activate CachedFileDescriptor
This patch activates CachedFileDescriptor for use in target_fd_. We
intend to use ExtentWriter for all payload operations. This patch alone
decreased the update time for a lumpy device from around 16 minutes down
to 2:30 minutes without necessarily putting pressure on memory. And that
is with O_DSYNC flag on.
BUG=chromium:762815
TEST=FEATURES="test" emerge-amd-generic update_engine; brillo_update_payload verify
Change-Id: Ie35a5e4d320496a9793c202c43271ff02b95a788
Reviewed-on: https://chromium-review.googlesource.com/674165
Commit-Ready: Amin Hassani <ahassani@chromium.org>
Tested-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Sen Jiang <senj@chromium.org>
Diffstat (limited to 'scripts/update_payload/checker_unittest.py')
0 files changed, 0 insertions, 0 deletions