commit | ce69f2985bcb34c9db8b96bc9128ad28540d28de | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Mon Nov 09 17:45:28 2020 -0800 |
committer | David Anderson <dvander@google.com> | Wed Nov 11 15:49:18 2020 -0800 |
tree | f3cc139330665fbc4d8ba3b83adab78af18a0cb2 | |
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