commit | 816a3e83df095b96fb6ffffeb080e68dfe8625d1 | [log] [tgz] |
---|---|---|
author | Alessio Balsini <balsini@google.com> | Wed Oct 30 17:28:24 2019 +0000 |
committer | Alessio Balsini <balsini@google.com> | Wed Oct 30 17:50:59 2019 +0000 |
tree | 5eca9a7387d9207554e060909866d2f4377d83ce | |
parent | 75b2fc75d98c89a1012733be84d4077e9f617c75 [diff] |
COW device initialized by zeroing the whole first chunk To be compliant with lvm, instead of just zeroing the first 32 bit of the COW device, force to zero the whole first chunk. Also switch to std::vector to store the zeroes, reducing the stack growth. Test: libsnapshot_test Bug: 139202197 Change-Id: I2d98549528a222d6c27bb566c68477b5ec3add20 Signed-off-by: Alessio Balsini <balsini@google.com>