summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorAlessio Balsini <balsini@google.com>2019-10-14 20:57:05 +0100
committerAlessio Balsini <balsini@google.com>2019-10-28 18:59:45 +0000
commit14d1394a7ee4d2ca82784802dfa2e188191b7a62 (patch)
treee1da228a95f78043d6ab3453d2403cce261ac448 /trusty/coverage/coverage.cpp
parent70f0be381107727eb5ee36b2dfe57645cb95dcf3 (diff)
COW partition creator uses DmSnapshotCowSizeCalculator
Instead of using heuristics on the calculation of the COW size, use the class representing the internal structure of the COW device as generated by the Linux kernel. This simplifies the forecast of the required COW device size depending on the write operations performed on the associated snapshot device. Created also an additional test case for the COW size calculation. Change-Id: If147001544988716430b36a4c75dfa7f34b4c8d9 Bug: 140835698 Test: libsnapshot_test Signed-off-by: Alessio Balsini <balsini@google.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions