pkg/devicemapper
Vivek Goyal 64ffdbc701 devicemapper: Add helper functions to allow deferred device removal
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>
2015-04-21 18:14:59 -04:00
..
attach_loopback.go Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00
devmapper.go devicemapper: Add helper functions to allow deferred device removal 2015-04-21 18:14:59 -04:00
devmapper_log.go devicemapper: split out devicemapper bindings 2014-11-05 18:10:38 -05:00
devmapper_wrapper.go devicemapper: Add helper functions to allow deferred device removal 2015-04-21 18:14:59 -04:00
devmapper_wrapper_deferred_remove.go devicemapper: Add helper functions to allow deferred device removal 2015-04-21 18:14:59 -04:00
devmapper_wrapper_no_deferred_remove.go devicemapper: Add helper functions to allow deferred device removal 2015-04-21 18:14:59 -04:00
ioctl.go devicemapper: split out devicemapper bindings 2014-11-05 18:10:38 -05:00
log.go devicemapper: define device-mapper log levels 2015-01-20 13:31:12 -05:00