-
Notifications
You must be signed in to change notification settings - Fork 39.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix device mountable volume names in DSW #71509
Conversation
/sig storage |
/assign @msau42 |
5155de6
to
8acb32e
Compare
/retest |
pkg/volume/local/local.go
Outdated
@@ -16,6 +16,11 @@ limitations under the License. | |||
|
|||
package local | |||
|
|||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest move this comment to where the lock is used below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion! Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Over looks good :-)
UnmountDevice is not supposed to be called until all references are gone. And should be serialized with MountVolume. I think we should investigate potential issues with operation executor because it's expected to be able to handle this race. |
Oh, if it's expected to handle this race, I am going to check it. |
/retest |
/test pull-kubernetes-local-e2e-containerized |
/lgtm |
/test pull-kubernetes-local-e2e-containerized |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cofyc, saad-ali The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-kubernetes-godeps |
/priority important-soon |
/retest Review the full test history for this PR. Silence the bot with an |
7 similar comments
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/retest Review the full test history for this PR. Silence the bot with an |
/test pull-kubernetes-kubemark-e2e-gce-big |
/retest Review the full test history for this PR. Silence the bot with an |
…upstream-release-1.13 Automated cherry pick of #71509: Fix device mountable volume names in DSW
…upstream-release-1.12 Automated cherry pick of #71509: Fix device mountable volume names in DSW
What type of PR is this?
/kind bug
What this PR does / why we need it:
This helps to serialize actions on local volume global path. This prevents races on same local volume, see #71438 (comment).
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Partially address #71438
Special notes for your reviewer:
Does this PR introduce a user-facing change?: