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
Brian Goff 6558158dc3 Move layer mount refcounts to mountedLayer
Instead of implementing refcounts at each graphdriver, implement this in
the layer package which is what the engine actually interacts with now.
This means interacting directly with the graphdriver is no longer
explicitly safe with regard to Get/Put calls being refcounted.

In addition, with the containerd, layers may still be mounted after
a daemon restart since we will no longer explicitly kill containers when
we shutdown or startup engine.
Because of this ref counts would need to be repopulated.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 65d79e3e5e)
2016-03-25 13:43:06 -04:00
..
aufs Move layer mount refcounts to mountedLayer 2016-03-25 13:43:06 -04:00
btrfs Fix the typo 2016-02-16 07:00:01 +00:00
devmapper Move layer mount refcounts to mountedLayer 2016-03-25 13:43:06 -04:00
graphtest Relabel BTRFS Content on container Creation 2015-11-11 14:49:27 -05:00
overlay Move layer mount refcounts to mountedLayer 2016-03-25 13:43:06 -04:00
register Move graph driver registration out of the daemon package. 2015-12-28 13:02:24 -05:00
vfs ingnore the NotExist error when removing inexistent files 2015-12-25 15:19:48 +08:00
windows Move layer mount refcounts to mountedLayer 2016-03-25 13:43:06 -04:00
zfs Move layer mount refcounts to mountedLayer 2016-03-25 13:43:06 -04:00
driver.go Make sure we call every graph init with the same root path. 2016-03-11 17:15:55 -05:00
driver_freebsd.go Move layer mount refcounts to mountedLayer 2016-03-25 13:43:06 -04:00
driver_linux.go Move layer mount refcounts to mountedLayer 2016-03-25 13:43:06 -04: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 Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
plugin.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
plugin_unsupported.go Create extpoint for graphdrivers 2015-09-09 20:24:35 -04:00
proxy.go *: fix response body leaks 2016-03-16 17:15:42 +01:00