mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
5e505d101f
if there is no cookie set in dm task, or flag DM_UDEV_DISABLE_LIBRARY_FALLBACK is cleared for a DM_DEV_REMOVE task, libdevmapper will fallback to clean up the symlink under /dev/mapper by itself, no matter the device removal is executed immediately or deferred by the kernel.In some cases, the removal is deferred by the kernel, while the symlink is deleted directly by libdevmapper, when docker tries to activate the device again, the deferred removal will be canceld, but the symlink will not show up again, so docker's attempt to mount the device by the symlink will fail, and it will eventually leads to a `docker start/diff` error. Fixes #24671 Signed-off-by: Ji.Zhilong <zhilongji@gmail.com> |
||
---|---|---|
.. | ||
devmapper.go | ||
devmapper_log.go | ||
devmapper_wrapper.go | ||
devmapper_wrapper_deferred_remove.go | ||
devmapper_wrapper_no_deferred_remove.go | ||
ioctl.go | ||
log.go |