containerd/snapshots
Daniel Canter a91c298d1d Optimize Windows and LCOW snapshotters to only create scratch layer on the final snapshot
For LCOW currently we copy (or create) the scratch.vhdx for every single snapshot
so there ends up being a sandbox.vhdx in every directory seemingly unnecessarily. With the default scratch
size of 20GB the size on disk is about 17MB so there's a 17MB overhead per layer plus the time to copy the
file with every snapshot. Only the final sandbox.vhdx is actually used so this would be a nice little
optimization.

For WCOW we essentially do the exact same except copy the blank vhdx from the base layer.

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2020-11-30 16:25:38 -08:00
..
benchsuite vendor: update gotest.tools v3.0.2 2020-02-28 17:47:20 +01:00
btrfs refactor(btrfs): separate init from implementation 2020-09-03 19:54:18 +08:00
devmapper devicemapper: seperate implementation pkg from plugin pkg 2020-09-18 12:00:14 +02:00
lcow Optimize Windows and LCOW snapshotters to only create scratch layer on the final snapshot 2020-11-30 16:25:38 -08:00
native refactor(native): separate init from implementation 2020-09-03 19:58:31 +08:00
overlay Separate overlay implementation from plugin 2020-08-26 18:50:51 -07:00
proxy Add Cleanup to snapshot API 2020-01-07 14:59:20 -08:00
storage vendor: update gotest.tools v3.0.2 2020-02-28 17:47:20 +01:00
testsuite vendor: update gotest.tools v3.0.2 2020-02-28 17:47:20 +01:00
windows Optimize Windows and LCOW snapshotters to only create scratch layer on the final snapshot 2020-11-30 16:25:38 -08:00
snapshotter.go Optimize Windows and LCOW snapshotters to only create scratch layer on the final snapshot 2020-11-30 16:25:38 -08:00