Skip to content
Commit cc4e3c60 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarJaegeuk Kim <jaegeuk@motorola.com>
parent 4ea2b0c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment