summaryrefslogtreecommitdiff
path: root/scripts/blockdiff.py
diff options
context:
space:
mode:
authorAmin Hassani <ahassani@google.com>2017-08-28 10:28:46 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-10-04 18:47:11 -0700
commit5192fe54e9ea90c3831a4beb799b8f19a9d061d0 (patch)
tree316091196864f617a21d8511a19cff72d9b67098 /scripts/blockdiff.py
parentdb56be971d5c1adb405858e24ca772b5f3290099 (diff)
update_engine: Add Flush() to FileDescriptor
This patch adds Flush() function to the file descriptor. This function should be called after each operation in order to ensure that data resides to disk before any checkpointing happen. In addition, if any future file descriptor that caches the data is added, this ensures integrity of written data. BUG=chromium:762815 TEST=brillo_update_payload verify Change-Id: I12442142647605afef1b01dc932eb7cf182af85b Reviewed-on: https://chromium-review.googlesource.com/674163 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/blockdiff.py')
0 files changed, 0 insertions, 0 deletions