1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver/devmapper
Alexander Larsson f26203cf54 devmapper: Simplify thin pool device id allocation
Instead of globally keeping track of the free device ids we just
start from 0 each run and handle EEXIST error and try the next one.

This way we don't need any global state for the device ids, which
means we can read device metadata lazily. This is important for
multi-process use of the backend.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-04-25 14:26:27 +02:00
..
attach_loopback.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
deviceset.go devmapper: Simplify thin pool device id allocation 2014-04-25 14:26:27 +02:00
devmapper.go devmapper: Simplify thin pool device id allocation 2014-04-25 14:26:27 +02:00
devmapper_doc.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
devmapper_log.go devmapper: Simplify thin pool device id allocation 2014-04-25 14:26:27 +02:00
devmapper_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
devmapper_wrapper.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
driver.go devicemapper: Don't mount in Create() 2014-04-23 13:50:53 +02:00
driver_test.go devicemapper: Don't mount in Create() 2014-04-23 13:50:53 +02:00
ioctl.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
mount.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
sys.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00