Skip to content

Commit aa7a5f7

Browse files
author
Power Cloud Robot
authored
Merge pull request #45 from Madhan-SWE/host_scan_optimization
Scanning scsi bus removed as it sometimes stuck in the middle
2 parents 25772d4 + 18f4430 commit aa7a5f7

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)