summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2020-10-21 20:00:14 -0700
committerDavid Anderson <dvander@google.com>2020-10-22 22:07:24 -0700
commit6a1e9ca279844d551020b3bf03e1a1033e7d21be (patch)
tree8f41fb236b0302f5dccfacc759ec348422efcae9 /trusty/coverage/coverage.cpp
parentfe7585a8b0bef7d5a7756ba85bf84101b05f55b2 (diff)
snapuserd: Add an API call to wait for device deletion.
This adds a new message to the daemon protocol, which waits for a device to be deleted. The caller must ensure that the corresponding control device is actually going away (eg, the device containing the dm-user table entry has been deleted). Otherwise, this will hang. This will allow libsnapshot to safely delete the cow since any outstanding references will be closed. This also refactors DmUserHandler so that it's freed (and removed from the handler list) if its corresponding thread exits of its own accord. Bug: 168554689 Test: vts_libsnapshot_test Change-Id: I8e97c543eec84874c88795a493470e992dc476fc
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions