mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-19 02:38:07 -05:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix device unmap for non-attachable plugin case **What this PR does / why we need it**: This PR fixes following problem. - If plugin is non-attachable, global unmap path isn't stored in asw, then plugin fails to unmap volume. To store the path, this PR moves MarkDeviceAsMounted operation from the `if volumeAttacher != nil` block. **Which issue(s) this PR fixes**: Fixes #60025 **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` /sig storage /cc @msau42 @jingxu97 @dhirajh @ianchakeres @mlmhl |
||
|---|---|---|
| .. | ||
| nestedpendingoperations | ||
| operationexecutor | ||
| types | ||
| volumehelper | ||
| atomic_writer.go | ||
| atomic_writer_test.go | ||
| BUILD | ||
| device_util.go | ||
| device_util_linux.go | ||
| device_util_linux_test.go | ||
| device_util_unsupported.go | ||
| doc.go | ||
| error.go | ||
| finalizer.go | ||
| fs.go | ||
| fs_unsupported.go | ||
| io_util.go | ||
| metrics.go | ||
| OWNERS | ||
| resize_util.go | ||
| resize_util_test.go | ||
| util.go | ||
| util_linux.go | ||
| util_test.go | ||
| util_unsupported.go | ||