Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented May 9, 2017

Cherry-picks db3576f
Then converts the local volume unmount to use a lazy unmount on Linux.
This is the equivalent of acbfe6b but localized to the local volume driver rather than affecting the entire codebase.

ping @mlaventure @thaJeztah

cpuguy83 added 2 commits May 9, 2017 13:48
When there is an error unmounting a local volume, it is still possible
to call `Remove()` on the volume causing removal of the mounted
resources which is generally not desirable.

This ensures that resources are unmounted before attempting removal.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit db3576f)
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This is a spiritual backport of acbfe6b
The afformentioned commit was not cherry-picked because it is a broader
change to the codebase, whereas this is the same basic fix but localized
to the local volume driver.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@thaJeztah thaJeztah changed the title Backport lazy unmount volume [17.03.x] Backport lazy unmount volume May 9, 2017
@thaJeztah thaJeztah added this to the 17.03.2 milestone May 9, 2017
@thaJeztah
Copy link
Member

Linking the original PR's for easier tracking; #32327, and #31391

Copy link
Contributor

@mlaventure mlaventure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cpuguy83
Copy link
Member Author

cpuguy83 commented May 9, 2017

All green except some networking hiccup on Windows in 1 test.

@vieux
Copy link
Contributor

vieux commented May 10, 2017

LGTM

@vieux vieux merged commit 4843bdc into moby:17.03.x May 10, 2017
@cpuguy83 cpuguy83 deleted the backport_lazy-unmount-volume branch May 18, 2017 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.