summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2021-06-15 17:09:00 -0700
committerDavid Anderson <dvander@google.com>2021-06-23 19:12:01 -0700
commit91b351ea7be56ff8a52e8344a871604288db9bbc (patch)
treeb71ba75a1c4f096377e14ddf17c806aa6807915f /libcutils/socket_local_server_unix.cpp
parent028303d52365ef2cf3d5a00d2f8df051f6e640e5 (diff)
Perform a consistency check before deleting snapshots.
If for some reason the COW state is not fully synced to disk, but dm-snapshot has flushed its pending merges, we do not want to delete snapshots. Doing so could potentially leave blocks unmerged. This situation is quite unexpected so we label it as a merge failure. The device can recover by completely syncing the COW state, and then rebooting, which will attempt to make forward progress on the merge. Bug: 190582627 Test: vts_libsnapshot_test full OTA on bramble incremental OTA on bramble Change-Id: Ib887f1d9e4397a712ed2f800cc1222cf9305a039 Merged-In: Ib887f1d9e4397a712ed2f800cc1222cf9305a039
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions