Michal Skrivanek has posted comments on this change.

Change subject: VDSM: implement nodeDeviceMapper
......................................................................


Patch Set 11:

(1 comment)

http://gerrit.ovirt.org/#/c/30209/11/vdsm/hostdev.py
File vdsm/hostdev.py:

Line 142:                 self._map[deviceName] = [HostDevice(device), '']
Line 143: 
Line 144:         # remove devices that are no longer found on host and remove 
no longer
Line 145:         # existing hosts from devices
Line 146:         for deviceName, attachment in self._map.items():
> Attachment is used as the format is deviceName -> [device, vmId] - it maps 
attachment does sound quite weird...
Line 147:             if attachment[1] and attachment[1] not in 
self._vmContainer:
Line 148:                 self._log.info('Removing host %s from host device: 
%s',
Line 149:                                attachment[1], deviceName)
Line 150:                 self.release(deviceName)


-- 
To view, visit http://gerrit.ovirt.org/30209
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6f21d465a90cfe2eb16ba70943e5fcf1683f1656
Gerrit-PatchSet: 11
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Martin Betak <[email protected]>
Gerrit-Reviewer: Martin Polednik <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Vinzenz Feenstra <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to