Akilesh Kailash 11f99f60c1 alioth: 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 <akailash@google.com>
Change-Id: Icc4987e5e8fb1a4b55a0c8ca74c362c56dd9d0ed
Signed-off-by: Albert I <kras@raphielgang.org>
2021-08-06 06:16:43 +02:00
2021-07-23 18:48:43 +02:00
2021-07-23 18:48:43 +02:00
2021-07-23 18:48:43 +02:00
2021-07-23 18:48:43 +02:00
Description
No description provided
472 KiB
Languages
Python 27.3%
Java 26.6%
Shell 20.1%
C++ 19.7%
Makefile 6.3%