Brian Goff
6dcc37964b
Refcount graphdriver plugins properly
...
Adds 2 new methods to v2 plugin `Acquire` and `Release` which allow
refcounting directly at the plugin level instead of just the store.
Since a graphdriver is initialized exactly once, and is really managed
by a separate object, it didn't really seem right to call
`getter.Get()` to refcount graphdriver plugins.
On shutdown it was particularly weird where we'd either need to keep a
driver reference in daemon, or keep a reference to the pluggin getter in
the layer store, and even then still store extra details on if the
graphdriver is a plugin or not.
Instead the plugin proxy itself will handle calling the neccessary
refcounting methods directly on the plugin object.
Also adds a new interface in `plugingetter` to account for these new
functions which are not going to be implemented by v1 plugins.
Changes terms `plugingetter.CREATE` and `plugingetter.REMOVE` to
`ACQUIRE` and `RELEASE` respectively, which seems to be better
adjectives for what we're doing.
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
Upstream-commit: f29bbd16f5d2bb82d815ea59f8ef85fe59384c89
Component: engine
2016-12-09 19:46:28 -05:00
..
2016-03-18 13:38:32 -07:00
2016-12-08 13:55:13 +01:00
2016-10-28 05:20:49 +02:00
2016-11-14 15:15:09 -05:00
2016-12-09 19:46:28 -05:00
2016-11-26 17:23:21 +08:00
2016-11-30 13:27:40 -08:00
2016-09-13 14:21:58 -07:00
2016-03-18 13:38:32 -07:00
2016-03-18 13:38:32 -07:00
2016-05-06 16:08:53 -07:00
2016-04-06 12:12:20 -07:00
2016-11-10 14:04:08 -05:00
2016-09-16 12:27:13 -04:00
2016-09-07 11:05:58 -07:00
2016-11-07 09:06:34 -08:00
2016-11-07 09:06:34 -08:00
2016-09-23 11:30:06 -07:00
2016-10-28 11:06:54 -07:00
2016-11-23 13:23:07 -08:00
2016-10-25 06:43:54 +00:00
2016-11-28 10:30:45 -08:00
2016-11-09 07:42:44 -08:00
2016-10-24 15:20:01 -07:00
2016-11-07 09:06:34 -08:00
2016-11-07 09:06:34 -08:00
2016-10-17 18:48:40 +08:00
2016-11-22 12:49:38 +00:00
2016-10-17 18:48:40 +08:00
2016-11-09 07:42:44 -08:00
2016-11-22 12:49:38 +00:00
2016-11-07 09:06:34 -08:00
2016-11-22 09:54:45 -08:00
2016-10-13 14:51:10 -07:00
2016-12-06 07:29:45 -08:00
2016-12-06 07:29:45 -08:00
2016-09-13 09:55:35 -04:00
2016-11-16 13:38:45 -08:00
2016-12-06 07:29:45 -08:00
2016-11-10 15:51:32 -08:00
2016-03-30 17:25:49 -07:00
2016-03-30 17:25:49 -07:00
2016-11-07 09:06:34 -08:00
2016-11-07 09:06:34 -08:00
2016-11-07 09:06:34 -08:00
2016-11-30 10:11:42 -08:00
2016-05-23 16:37:12 -07:00
2016-11-21 17:40:31 -08:00
2016-12-01 13:56:11 -08:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-03 10:05:11 -07:00
2016-11-17 13:10:48 -05:00
2016-09-27 18:06:54 +08:00
2016-11-22 12:49:38 +00:00
2016-09-01 01:07:05 +08:00
2016-09-01 01:07:05 +08:00
2016-11-11 15:34:01 +01:00
2016-09-16 12:27:13 -04:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-09-27 12:07:35 -07:00
2016-05-23 16:37:12 -07:00
2016-11-08 17:41:56 -08:00
2016-11-22 12:49:38 +00:00
2016-10-20 19:31:24 -07:00
2016-11-07 09:06:34 -08:00
2016-11-15 20:10:16 -08:00
2016-11-18 18:54:36 -08:00
2016-10-27 10:34:38 -07:00
2016-05-21 22:36:11 +02:00
2016-10-27 10:34:38 -07:00
2016-10-06 11:46:24 -07:00
2016-11-18 18:32:02 -08:00
2016-09-07 11:05:58 -07:00
2016-09-15 18:08:19 -07:00
2016-10-06 17:12:17 -07:00
2016-11-11 15:34:01 +01:00
2016-09-07 11:05:58 -07:00
2016-11-19 13:21:16 +01:00
2016-11-19 13:21:16 +01:00
2016-11-19 13:21:16 +01:00
2016-11-07 09:06:34 -08:00
2016-09-13 09:55:35 -04:00
2016-09-13 09:55:35 -04:00
2016-10-20 17:06:11 +02:00
2016-06-27 10:23:37 -07:00
2016-06-27 10:23:37 -07:00
2016-10-24 11:10:14 -07:00
2016-12-01 09:38:08 -08:00
2016-12-01 09:38:08 -08:00
2016-12-01 09:38:08 -08:00
2016-12-01 09:38:08 -08:00
2016-05-23 16:37:12 -07:00
2016-11-01 23:09:30 +08:00
2016-10-06 22:48:53 -03:00
2016-11-08 19:54:57 -08:00
2016-09-07 11:05:58 -07:00
2016-11-23 09:28:13 +08:00
2016-10-27 10:34:38 -07:00
2016-04-06 14:03:05 -07:00
2016-05-23 16:37:12 -07:00
2016-10-24 00:20:36 -07:00
2016-11-14 15:15:09 -05:00
2016-09-13 09:55:35 -04:00
2016-11-23 13:23:07 -08:00
2016-11-28 16:54:56 -08:00
2016-11-22 14:32:07 -08:00
2016-11-07 09:06:34 -08:00
2016-11-04 13:38:50 -07:00
2016-03-18 13:38:32 -07:00
2016-12-02 20:08:49 -08:00
2016-06-27 19:58:05 -07:00
2016-03-18 13:38:32 -07:00
2016-10-28 07:56:05 -04:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-08-17 09:38:34 -07:00
2016-11-02 21:41:29 +01:00
2016-07-08 17:26:42 -07:00
2016-11-09 14:27:43 -05:00
2016-11-09 14:27:43 -05:00
2016-11-17 15:49:02 -05:00
2016-11-07 09:06:34 -08:00
2016-11-10 09:54:40 -08:00
2016-12-07 01:37:08 -05:00
2016-05-23 16:37:12 -07:00
2016-09-16 11:56:15 -07:00
2016-09-16 11:56:15 -07:00
2016-09-16 11:56:15 -07:00
2016-09-21 12:36:52 +02:00
2016-09-16 11:56:15 -07:00
2016-11-22 12:49:38 +00:00
2016-10-17 12:53:35 -07:00
2016-07-08 05:58:11 +00:00
2016-09-07 11:05:58 -07:00
2016-09-07 16:29:02 -07:00
2016-08-29 10:16:18 +08:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-09-07 11:05:58 -07:00
2016-11-30 19:22:07 +01:00
2016-11-21 19:56:01 +08:00
2016-09-27 12:07:35 -07:00
2016-11-22 12:49:38 +00:00
2016-06-14 16:49:04 -07:00
2016-11-23 09:56:02 -08:00