moby/daemon
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
..
execdriver Separating cgroup Memory and MemoryReservation. 2014-04-24 11:09:38 -07:00
graphdriver devmapper: Simplify thin pool device id allocation 2014-04-25 14:26:27 +02:00
networkdriver Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
container.go Remove IsGhost checks around networking 2014-04-17 23:49:59 +00:00
container_unit_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon.go container: Remove Ghost state 2014-04-22 09:49:53 +02:00
daemon_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_btrfs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_devicemapper.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
daemon_no_aufs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
history.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
network_settings.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
server.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
sorter.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
state.go container: Remove Ghost state 2014-04-22 09:49:53 +02:00
utils.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
utils_test.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
volumes.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00