Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit 6edc12e

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request #55217 from FengyunPan/waitforattach
Automatic merge from submit-queue (batch tested with PRs 55217, 54260). 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>. Checking Cinder disk when tickers are delivered Cinder's WaitForAttach() runs probeAttachedVolume() 2 times per second(L243 and L247), that triggers SCSI rescan and generates many udev "change" events. **Release note**: ```release-note NONE ```
2 parents 3731de7 + 78d1b45 commit 6edc12e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

pkg/volume/cinder/attacher.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ func (attacher *cinderDiskAttacher) WaitForAttach(spec *volume.Spec, devicePath
240240
defer timer.Stop()
241241

242242
for {
243-
probeAttachedVolume()
244243
select {
245244
case <-ticker.C:
246245
glog.V(5).Infof("Checking Cinder disk %q is attached.", volumeID)

0 commit comments

Comments
 (0)