Skip to content

Commit 18f4430

Browse files
committed
Scanning scsi bus removed as it sometimes stuck in the middle
1 parent 605022b commit 18f4430

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/driver/node.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ func (d *nodeService) NodeStageVolume(ctx context.Context, req *csi.NodeStageVol
138138
return nil, status.Error(codes.InvalidArgument, "WWN ID is not provided or empty")
139139
}
140140

141-
_ = d.mounter.RescanSCSIBus()
142-
143141
source, err := d.mounter.GetDevicePath(wwn)
144142
if err != nil {
145143
return nil, status.Errorf(codes.Internal, "Failed to find device path %s. %v", wwn, err)

0 commit comments

Comments
 (0)