You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: snapshots/devmapper/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ The following configuration flags are supported:
26
26
should be the same as in `/dev/mapper/` directory
27
27
*`base_image_size` - defines how much space to allocate when creating the base device
28
28
*`async_remove` - flag to async remove device using snapshot GC's cleanup callback
29
+
*`discard_blocks` - whether to discard blocks when removing a device. This is especially useful for returning disk space to the filesystem when using loopback devices.
29
30
30
31
Pool name and base image size are required snapshotter parameters.
// DiscardBlocks discards all blocks for the given thin device
355
+
// ported from https://github.com/moby/moby/blob/7b9275c0da707b030e62c96b679a976f31f929d3/pkg/devicemapper/devmapper.go#L416
0 commit comments