Freddy Rolland has posted comments on this change.

Change subject: storage: Add resize map support in multipath.py
......................................................................


Patch Set 11:

(1 comment)

https://gerrit.ovirt.org/#/c/40468/11/vdsm/storage/multipath.py
File vdsm/storage/multipath.py:

Line 104: 
Line 105:     if len(set(size for slave, size in slaves)) != 1:
Line 106:         raise Error("Map %r slaves size differ %s" % (guid, slaves))
Line 107: 
Line 108:     name = devicemapper.getDmId(guid)
> We got it in line 97
Done
Line 109:     map_size = getDeviceSize(name)
Line 110:     slave_size = slaves[0][1]
Line 111:     if map_size == slave_size:
Line 112:         return False


-- 
To view, visit https://gerrit.ovirt.org/40468
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib1020667baeb5976fb1c78daedcc88727648f13d
Gerrit-PatchSet: 11
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Freddy Rolland <[email protected]>
Gerrit-Reviewer: Fred Rolland <[email protected]>
Gerrit-Reviewer: Freddy Rolland <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to