Change in vdsm[master]: hsm: Call for resize_if_needed in getDeviceList

nsoffer at redhat.com nsoffer at redhat.com
Mon May 4 00:15:22 UTC 2015


Nir Soffer has posted comments on this change.

Change subject: hsm: Call for resize_if_needed in getDeviceList
......................................................................


Patch Set 2:

(2 comments)

https://gerrit.ovirt.org/#/c/40469/2/vdsm/storage/hsm.py
File vdsm/storage/hsm.py:

Line 2040
Line 2041
Line 2042
Line 2043
Line 2044
> The resize should be part of pathListIter. You will have to move the typeFi
Looking in pathListIter, it is too big, we don't want to touch it now.


Line 2043
Line 2044
Line 2045
Line 2046
Line 2047
We can resize here:

    if multipath.resize_if_needed(dev["guid"]):
        dev["capacity"] = str(multipath.getDeviceSize(dev["dm"]))


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ie6b1b699b1a905e949e98f435f339a21dad640c6
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Fred Rolland <frolland at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list