summaryrefslogtreecommitdiff
path: root/code_coverage/empty_policy
diff options
context:
space:
mode:
authorAlessio Balsini <balsini@google.com>2019-10-14 20:57:02 +0100
committerAlessio Balsini <balsini@google.com>2019-10-15 13:06:48 +0100
commit47236aa5626570e9b240571f60aecea19eaa6866 (patch)
tree1c5403a247c057ab9a80d1806280cf08445e42d4 /code_coverage/empty_policy
parent0b5949e81119fe08ef199267df8991b479febaea (diff)
Utility class for COW size calculation
The Linux kernel's dm-snapshot relies on a COW device to keep trace of all the modified sectors. The COW device has a precise structure, which allows to compute its space requirement in advance, as a function of: - sector size; - chunk size; - list of modifications applied to the snapshot device. Create a class that implements the COW device space occupancy given this information. Bug: 140835698 Test: libsnapshot_test Change-Id: I50e3815741ee689d14fc3611532ff9d3b3e0e879 Signed-off-by: Alessio Balsini <balsini@google.com>
Diffstat (limited to 'code_coverage/empty_policy')
0 files changed, 0 insertions, 0 deletions