moby/graphdriver/devmapper
Alexander Larsson 3e8a02a939 devmapper: Add per-device lock
We currently use a global lock to protect global data (like the
Devices map) as well as device data itself and access to
(non-threadsafe) libdevmapper.

This commit also adds a per-device lock, which will allow per-device
operations to temporarily release the global lock while e.g. waiting.
The per-device lock will make sure that nothing else accesses that
device while we're operating on it.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-03-06 18:36:03 +01:00
..
attach_loopback.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
deviceset.go devmapper: Add per-device lock 2014-03-06 18:36:03 +01:00
devmapper.go devmapper: Enable skip_block_zeroing 2014-02-09 07:29:28 +01:00
devmapper_doc.go Add devmapper struct doc 2013-11-20 14:09:46 -08:00
devmapper_log.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
devmapper_test.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
devmapper_wrapper.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
driver.go devmapper: Remove directory when removing devicemapper device 2014-02-11 09:40:13 +01:00
driver_test.go devicemapper: Fix tests on fedora 2014-02-11 09:42:34 +01:00
ioctl.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
mount.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
sys.go Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00