summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2021-10-12 06:27:30 +0000
committerThurston Dang <thurston@google.com>2021-10-13 19:35:18 +0000
commit98e7f427e898c1f7dfe597cc4e15032c6563bbae (patch)
treee2f4d4cf6b34304ceabee3fdc0d29190830c7c1e /libutils/Unicode.cpp
parent0e28aeb7861eaa4bae72494f8a3e6b152c889fc6 (diff)
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 34404f4ab1326eb179f889201dcfd04eb6002d0e)
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions