b210423311
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> |
||
---|---|---|
.. | ||
attach_loopback.go | ||
devmapper.go | ||
devmapper_log.go | ||
devmapper_wrapper.go | ||
devmapper_wrapper_deferred_remove.go | ||
devmapper_wrapper_no_deferred_remove.go | ||
ioctl.go | ||
log.go |