1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/layer
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
..
empty.go Make TarStream return an io.ReadCloser 2015-11-25 16:39:54 -08:00
empty_test.go Add layer store 2015-11-24 09:40:23 -08:00
filestore.go Add more robust error handling on layer store creation 2016-01-19 11:17:08 -08:00
filestore_test.go *: remove unused stuff 2016-03-14 18:41:30 +01:00
layer.go Move layer mount refcounts to mountedLayer 2016-03-25 13:43:06 -04:00
layer_store.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
layer_test.go Windows CI Unit Test: Docker layer turn off failing tests 2016-02-28 20:16:10 -08:00
layer_unix.go Cli binary can now be build on OpenBSD 2016-03-18 14:56:21 +01:00
layer_unix_test.go Verify layer tarstream 2016-02-17 14:26:16 -05:00
layer_windows.go Update code to compile against new manifest interface 2016-01-08 17:24:20 -08:00
migration.go Merge pull request #20458 from aaronlehmann/migration-close-gzip-writer 2016-02-18 16:48:50 -08:00
migration_test.go Windows CI Unit Test: Docker layer turn off failing tests 2016-02-28 20:16:10 -08:00
mount_test.go Windows CI Unit Test: Docker layer turn off failing tests 2016-02-28 20:16:10 -08:00
mounted_layer.go Move layer mount refcounts to mountedLayer 2016-03-25 13:43:06 -04:00
ro_layer.go Verify layer tarstream 2016-02-17 14:26:16 -05:00