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
Vivek Goyal 6b8b4feaa1 devmapper: construct used device ID map from device Hash map
Currently during startup we walk through all the device files and read
their device ID and mark in a bitmap that device id is used.

We are anyway going through all device files. So we can as well load all
that data into device hash map. This will save us little time when
container is actually launched later.

Also this will help with later patches where cleanup deferred device
wants to go through all the devices and see which have been marked for
deletion and delete these.

So re-organize the code a bit.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
2015-10-06 17:37:21 -04:00
..
aufs Add constants for AUFS whiteout files 2015-09-29 11:21:45 -07:00
btrfs Try to resize data and metadata loopback file when initiating devicemapper 2015-09-24 09:31:00 +08:00
devmapper devmapper: construct used device ID map from device Hash map 2015-10-06 17:37:21 -04:00
graphtest Merge pull request #15422 from kolyshkin/graphtest-fix 2015-08-10 12:21:21 -07:00
overlay Merge pull request #16490 from Microsoft/10662-mtimefix 2015-10-02 12:06:03 -07:00
vfs Try to resize data and metadata loopback file when initiating devicemapper 2015-09-24 09:31:00 +08:00
windows Fix golint issues on the windows graph driver. 2015-09-29 18:32:45 -04:00
zfs Try to resize data and metadata loopback file when initiating devicemapper 2015-09-24 09:31:00 +08:00
driver.go daemon/graphdriver fix lint errors/warnings 2015-08-17 19:27:36 +00:00
driver_freebsd.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
driver_linux.go daemon/graphdriver fix lint errors/warnings 2015-08-17 19:27:36 +00:00
driver_unsupported.go daemon/graphdriver fix lint errors/warnings 2015-08-17 19:27:36 +00:00
driver_windows.go daemon/graphdriver fix lint errors/warnings 2015-08-17 19:27:36 +00:00
fsdiff.go Try to resize data and metadata loopback file when initiating devicemapper 2015-09-24 09:31:00 +08:00
imagerestorer.go Make graph.Register take in io.Reader 2015-08-20 20:37:11 -07:00