android_recovery_motorola_g.../gpt-utils
Akilesh Kailash f70785956d hiphi: 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
Change-Id: I2da9286490d5d063df0c9d4dc491e0fbf28f51bb
Signed-off-by: Akilesh Kailash <akailash@google.com>
Signed-off-by: sekaiacg <sekaiacg@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
2023-05-04 15:45:38 +03:00
..
Android.bp hiphi: Add bootctrl HAL and gpt-utils 2023-05-04 15:45:38 +03:00
gpt-utils.cpp hiphi: gpt-utils: FSync after block device writes 2023-05-04 15:45:38 +03:00
gpt-utils.h hiphi: gpt-utils: Update PTN_SWAP_LIST and handle multiimg(oem/qti) 2023-05-04 15:45:38 +03:00
recovery-ufs-bsg.cpp hiphi: Add bootctrl HAL and gpt-utils 2023-05-04 15:45:38 +03:00
recovery-ufs-bsg.h hiphi: Add bootctrl HAL and gpt-utils 2023-05-04 15:45:38 +03:00
sparse_crc32.cpp hiphi: Add bootctrl HAL and gpt-utils 2023-05-04 15:45:38 +03:00
sparse_crc32.h hiphi: Add bootctrl HAL and gpt-utils 2023-05-04 15:45:38 +03:00