diff options
author | Daniel Rosenberg <drosen@google.com> | 2020-11-09 17:45:28 -0800 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2020-11-11 15:49:18 -0800 |
commit | ce69f2985bcb34c9db8b96bc9128ad28540d28de (patch) | |
tree | f3cc139330665fbc4d8ba3b83adab78af18a0cb2 /trusty/coverage/coverage_test.cpp | |
parent | 99ed2152de8728a2a6a250feb893fed726906943 (diff) |
libsnapshot: Don't try to truncate block devices
When we're writing to a block device, we can't truncate. Ignore those
commands. Truncate mostly just saves time in the read phase by chopping
off unused data in the event finalize wasn't called.
Bug: 172026020
Test: cow_api_test
Change-Id: I3befc71fa9597edf8243d0f9e17440db91409aea
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions