Files
docker-cli/components/engine/daemon
Stefan Wernli 60340beefd Fixing releaseableLayer handling of layer streams and mounts.
Original PR message:
releaseableLayer includes automatic handling for creating a read/write layer and mounting it on a call to Mount(), but then does not correspondingly unmount the layer before trying to delete it, which will fail for some graphdrivers. Commit on a releaseable layer also leaks the tarstream for the layer. To fix this, the stream close is deferred in Commit and releaseRWLayer now correctly handles unmounting the layer before trying to delete it.  In addition, the changes include better error handling in Release() to make sure that errors are returned to the caller for failures on read/write layers instead of being ignored.# Please enter the commit message for your changes. Lines starting
Cherry-Pick note:
This version of the change was edited to merge with docker-ce 17.06, which did not include the releasableLayer.Commit code, requiring that part of the merge to be removed.
(cherry picked from commit 1d457999c4540aacda68f834bdb3c6f220ce3fd5)
Signed-off-by: Stefan Wernli <swernli@ntdev.microsoft.com>
2017-08-01 20:37:38 -04:00
..
2017-07-26 11:38:23 -07:00
2017-05-10 14:16:27 -07:00
2017-05-17 11:46:30 -07:00
2016-11-14 15:15:09 -05:00
2017-05-16 15:11:39 -07:00
2016-09-07 11:05:58 -07:00
2016-10-28 11:06:54 -07:00
2017-05-18 10:57:10 +08:00
2017-05-16 14:25:32 -07:00
2016-11-16 13:38:45 -08:00
2017-02-15 21:57:27 +08:00
2016-11-03 10:05:11 -07:00
2017-02-07 11:08:37 -08:00
2017-05-17 11:46:30 -07:00
2016-11-08 17:41:56 -08:00
2017-05-16 15:11:39 -07:00
2017-02-07 11:08:37 -08:00
2017-02-07 11:08:37 -08:00
2017-02-07 11:08:37 -08:00
2017-02-07 11:08:37 -08:00
2017-02-07 11:08:37 -08:00
2017-05-02 17:38:12 -04:00
2017-05-16 15:11:39 -07:00
2016-12-01 09:38:08 -08:00
2016-10-06 22:48:53 -03:00
2016-09-07 11:05:58 -07:00
2017-05-12 00:30:09 -04:00
2017-05-16 14:25:32 -07:00
2017-05-31 09:58:11 -07:00
2017-01-11 21:35:59 +08:00
2016-12-27 21:46:52 +08:00
2016-09-07 11:05:58 -07:00
2017-05-16 11:30:06 -07:00
2017-02-01 14:43:58 -05:00
2016-09-21 12:36:52 +02:00
2016-09-16 11:56:15 -07:00
2017-05-16 15:11:39 -07:00
2017-05-16 15:11:39 -07:00