aboutsummaryrefslogtreecommitdiffstats
path: root/applypatch/imgdiff.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@motorola.com>2015-11-04 11:43:58 -0800
committerSteve Kondik <steve@cyngn.com>2015-11-07 19:21:20 -0800
commitac4701de1b28b34fd41973feaf85c9a8a49f3c5c (patch)
treee475e21b9396262220c12fa1ddb149fece550d2e /applypatch/imgdiff.c
parentb3edaa98ab2f2cf9533656d266a54251a1222b5a (diff)
downloadbootable_recovery-ac4701de1b28b34fd41973feaf85c9a8a49f3c5c.zip
bootable_recovery-ac4701de1b28b34fd41973feaf85c9a8a49f3c5c.tar.gz
bootable_recovery-ac4701de1b28b34fd41973feaf85c9a8a49f3c5c.tar.bz2
uncrypt: remove O_SYNC to avoid time-out failures
This patch removes costly O_SYNC flag for encrypted block device. After writing whole decrypted blocks, fsync should guarantee their consistency from further power failures. This patch reduces the elapsed time significantly consumed by upgrading packages on an encrypted partition, so that it could avoid another time-out failures too. Change-Id: I1fb9022c83ecc00bad09d107fc87a6a09babb0ec Signed-off-by: Jaegeuk Kim <jaegeuk@motorola.com>
Diffstat (limited to 'applypatch/imgdiff.c')
0 files changed, 0 insertions, 0 deletions