Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
walleye: gpt-utils: fsync after block device writes
When markBoolSuccessful is invoked, we update the partition table. These writes should be synced before merge operation is resumed post OTA. If not, any crash before these writes are landed to backing storage will lead to incorrect switching of slots. BUG: 175711601 Test: Verify slot switching correctly after crash when merge in progress (on redbull) Signed-off-by: Akilesh Kailash <[email protected]> Change-Id: I4d30342b44aaeb7a4fdc915cc1e53ffb20c17a2f
- Loading branch information