Freddy Rolland has posted comments on this change. Change subject: resize-lun: Rescan fiber channel devices ......................................................................
Patch Set 3: (1 comment) https://gerrit.ovirt.org/#/c/43388/3/vdsm/storage/fc-scan File vdsm/storage/fc-scan: Line 93: """ Line 94: Scans host's devices in order to detect changes in devices size Line 95: """ Line 96: rescan_pattern = ("/sys/devices/*/*/*/%s/rport-*/target*/*/" Line 97: "scsi_device/*/device/rescan" % self.host) > This pattern is little fragile - if the kernel will change the internals, i Done Line 98: for path in glob.glob(rescan_pattern): Line 99: try: Line 100: log.debug("Rescanning device %s", path) Line 101: with utils.stopwatch("Rescanned device %s" % path, log=log): -- To view, visit https://gerrit.ovirt.org/43388 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I201312c44fec30d11ad62823558aa10ad7f7991b Gerrit-PatchSet: 3 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Freddy Rolland <froll...@redhat.com> Gerrit-Reviewer: Fred Rolland <froll...@redhat.com> Gerrit-Reviewer: Freddy Rolland <froll...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches