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

Commit 78d1b45

Browse files
committed
Checking Cinder disk when tickers are delivered
Cinder's WaitForAttach() runs probeAttachedVolume() 2 times per second, that triggers SCSI rescan and generates many udev "change" events.
1 parent f273bd5 commit 78d1b45

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)