Files
docker-cli/components/engine/pkg
Vivek Goyal 5ce830016b devicemapper: Check loop devices of existing pool
Often it happens that docker is not able to shutdown/remove the thin
pool it created because some device has leaked into some mount name
space. That means device is in use and that means pool can't be removed.

Docker will leave pool as it is and exit. Later when user starts the
docker, it finds pool is already there and docker uses it. But docker
does not know it is same pool which is using the loop devices. Now
docker thinks loop devices are not being used. That means it does not
display the data correctly in "docker info", giving user wrong information.

This patch tries to detect if loop devices as created by docker are
being used for pool and fills in the right details in "docker info".

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Upstream-commit: bebf53443981c70a6a714ea518dc966a0e2b6558
Component: engine
2015-07-07 14:13:29 -04:00
..
2015-06-17 01:16:57 +03:00
2015-07-02 08:17:11 -03:00
2015-06-27 10:13:47 +02:00
2015-06-17 01:16:57 +03:00
2015-05-23 09:14:18 -07:00
2015-06-30 17:43:17 +01:00
2015-06-29 22:30:11 +02:00
2015-06-29 10:32:18 -07:00
2015-06-30 01:45:31 +03:00
2015-06-12 15:42:34 +08:00
2015-05-08 14:15:53 -07:00
2015-06-29 10:32:18 -07:00
2015-06-24 15:00:14 +08:00
2015-05-13 21:48:48 +03:00
2015-06-19 09:44:23 +08:00
2014-07-01 23:44:12 +04:00
2015-06-13 09:27:30 -07:00
2015-07-01 13:16:16 -07:00
2015-04-27 21:50:33 +02:00
2015-05-02 23:25:57 -06:00
2015-03-25 20:45:17 -07:00
2015-06-24 00:47:08 +08:00
2015-05-29 00:42:11 +02:00
2015-03-25 00:46:22 +08:00
2013-12-23 23:12:19 +00:00

pkg/ is a collection of utility packages used by the Docker project without being specific to its internals.

Utility packages are kept separate from the docker core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Docker organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!