moby/daemon/graphdriver
Alexander Larsson 0434a2ce64 devmapper: Add blkdiscard option and disable it on raw devices
The blkdiscard hack we do on container/image delete is pretty slow, but
required to restore space to the "host" root filesystem. However, it
is pretty useless on raw devices, and you may not need it in development
either.

In a simple test of the devicemapper backend on loopback the time to
delete 20 container went from 11 seconds to 0.4 seconds with
--storage-opt blkdiscard=false.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-06-05 11:45:59 +02:00
..
aufs Add --storage-opt graph driver option and pass through to driver 2014-06-05 10:42:27 +02:00
btrfs Add --storage-opt graph driver option and pass through to driver 2014-06-05 10:42:27 +02:00
devmapper devmapper: Add blkdiscard option and disable it on raw devices 2014-06-05 11:45:59 +02:00
graphtest Add --storage-opt graph driver option and pass through to driver 2014-06-05 10:42:27 +02:00
vfs Add --storage-opt graph driver option and pass through to driver 2014-06-05 10:42:27 +02:00
driver.go Add --storage-opt graph driver option and pass through to driver 2014-06-05 10:42:27 +02:00