mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
A lot of time device mapper devices leak across mount namespace which docker does not know about and when docker tries to deactivate/delete device, operation fails as device is open in some mount namespace. Create a mechanism where one can defer the device deactivation/deletion so that docker operation does not fail and device automatically goes away when last reference to it is dropped. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Upstream-commit: 6964ab94befd8723585556e560219e0eef48a488 Component: engine