android_system_core/trusty
Thurston Dang 98e7f427e8 storageproxyd: discard writes when checkpointing, if necessary
If a checkpointing operation is in progress, discard any write operations
that are flagged as STORAGE_MSG_FLAG_PRE_COMMIT_CHECKPOINT. In tandem
with trusty-side changes that set the flag appropriately, this avoids
the awkward case where the checkpoint is rolled back, which potentially
leads to inconsistency between the data and the superblock.

Based on Stephen's CL/1845477 "Add helper to check checkpoint state of
mounts".

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1850058

Test: m storageproxyd
Bug: 194313068
Change-Id: I0924084f7f0b20018cbb71f5153469c8a686e262
Merged-In: I0924084f7f0b20018cbb71f5153469c8a686e262
(cherry picked from commit 34404f4ab1)
2021-10-13 19:35:18 +00:00
..
apploader trusty: apploader: Log errors to logcat 2021-03-31 13:27:57 -07:00
confirmationui trusty: Fuzzer for ConfirmationUI messages 2021-03-02 12:21:49 -08:00
coverage trusty: coverage: Add UUID helpers 2021-02-26 19:14:47 -08:00
fuzz Trusty: Move tipc fuzzer connection to end of iteration 2021-04-15 01:02:50 +00:00
gatekeeper trusty: Fuzz gatekeeper TA using generic TIPC fuzzer 2021-02-26 20:24:58 -08:00
keymaster Merge "Handle long responses by keymint IPC." into sc-dev 2021-08-16 20:07:15 +00:00
libtrusty Add legacy-align parameter to DmabufHeapAlloc() 2021-03-23 16:51:40 -07:00
metrics trusty: Helper library for metrics 2021-05-03 17:15:30 -07:00
secure_dpu [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
storage storageproxyd: discard writes when checkpointing, if necessary 2021-10-13 19:35:18 +00:00
utils [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-03-17 12:59:19 -07:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
OWNERS Update OWNERS based on Trusty team membership 2021-02-22 14:51:14 -08:00
trusty-base.mk Revert^2 "Activate KeyMint." 2021-06-21 19:44:02 +00:00
trusty-storage.mk trusty: storage: implement storage proxy daemon 2016-05-02 15:12:01 -07:00
trusty-test.mk The last line should not end with backslash 2020-11-19 14:54:24 -08:00