docs/runtime
Alexander Larsson a9fa1a13c3 devicemapper: Better/faster shutdown
Right now shutdown is looping over *all* devicemapper
devices and actively deactivating them, this is pretty
slow if you have a lot of non-active containers. We
instead only deactivate the devices that are mounted.

We also do the shutdown unmount using MNT_DETACH which
forces the unmount in the global namespace, even if it
is busy because of some container having it mounted.
This means the device will be freed when that container
exits.

Also, we move the call to waitClose to deactivateDevice
because all callers of any of them call both anyway.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-03-20 17:38:35 +01:00
..
execdriver Refactor out interface specific information from execdriver.Network 2014-03-17 22:53:48 +01:00
graphdriver devicemapper: Better/faster shutdown 2014-03-20 17:38:35 +01:00
networkdriver Gofmt imports 2014-03-17 11:41:28 -07:00
container.go cleanup container.stop 2014-03-18 23:48:14 +00:00
container_unit_test.go Move runtime and container into sub pkg 2014-03-09 23:03:40 -07:00
runtime.go configurable dns search domains 2014-03-19 10:49:25 -04:00
runtime_aufs.go graphdriver: build tags 2014-03-17 21:54:05 -04:00
runtime_btrfs.go btrfs: build tags 2014-03-18 13:44:23 -04:00
runtime_devicemapper.go graphdriver: build tags 2014-03-17 21:54:05 -04:00
runtime_no_aufs.go graphdriver: build tags 2014-03-17 21:54:05 -04:00
server.go Add IsRunning to server interface 2014-03-09 23:16:15 -07:00
sorter.go Move runtime and container into sub pkg 2014-03-09 23:03:40 -07:00
state.go add time since exit in docker ps 2014-03-18 01:34:43 +00:00
utils.go Move runtime and container into sub pkg 2014-03-09 23:03:40 -07:00
volumes.go Move execdrivers into runtime top level pkg 2014-03-17 11:40:12 -07:00