Ayal Baron has posted comments on this change. Change subject: lvm: Allow multiple LVs to be refreshed at once. ......................................................................
Patch Set 10: (1 comment) .................................................... File vdsm/storage/lvm.py Line 1152: Line 1153: def refreshLVs(vgName, lvNames): Line 1154: # If the logical volumes are active, reload their metadata. Line 1155: cmd = ['lvchange', '--refresh'] Line 1156: cmd.extend("%s/%s" % (vgName, lv) for lv in lvNames) forgive the question, but does this really work? Line 1157: rc, out, err = _lvminfo.cmd(cmd, _lvminfo._getVGDevs((vgName, ))) Line 1158: _lvminfo._invalidatelvs(vgName, lvNames) Line 1159: if rc != 0: Line 1160: raise se.LogicalVolumeRefreshError("%s failed" % list2cmdline(cmd)) -- To view, visit http://gerrit.ovirt.org/19871 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I1ecc64b8ca0133b030ba5bfa37f1a2c55067dd5d Gerrit-PatchSet: 10 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Lee Yarwood <lyarw...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Ayal Baron <aba...@redhat.com> Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com> Gerrit-Reviewer: Eduardo <ewars...@redhat.com> Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com> Gerrit-Reviewer: Lee Yarwood <lyarw...@redhat.com> Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com> Gerrit-Reviewer: Yeela Kaplan <ykap...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches