Dan Kenigsberg has submitted this change and it was merged.

Change subject: resize-lun: Add resize map support in multipath
......................................................................


resize-lun: Add resize map support in multipath

In a scenario where a LUN has been increased on the storage server, and
after rescan, the underlying devices are larger then the multipath map.
We need to resize the multiapth map.

This patch adds multipath.resize_devices() function that iterates over
all multipath devices, check the if slave size is bigger then the
multipath map, and resize the map if needed.

Since resizing multipath maps requires root privileges, new
superVdsm.resizeMap() function was added to perform the resize.

Change-Id: Ib1020667baeb5976fb1c78daedcc88727648f13d
Bug-Url:https://bugzilla.redhat.com/609689
Signed-off-by: Fred Rolland <[email protected]>
Reviewed-on: https://gerrit.ovirt.org/40468
Reviewed-by: Nir Soffer <[email protected]>
Tested-by: Nir Soffer <[email protected]>
Reviewed-by: Jenkins CI
Continuous-Integration: Jenkins CI
Tested-by: Jenkins CI
Reviewed-by: Adam Litke <[email protected]>
Reviewed-by: Federico Simoncelli <[email protected]>
---
M vdsm/storage/multipath.py
M vdsm/supervdsmServer
2 files changed, 75 insertions(+), 4 deletions(-)

Approvals:
  Adam Litke: Looks good to me, approved
  Nir Soffer: Verified; Looks good to me, but someone else must approve
  Federico Simoncelli: Looks good to me, approved
  Jenkins CI: Verified; Looks good to me, but someone else must approve; Passed 
CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1020667baeb5976fb1c78daedcc88727648f13d
Gerrit-PatchSet: 19
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Freddy Rolland <[email protected]>
Gerrit-Reviewer: Adam Litke <[email protected]>
Gerrit-Reviewer: Ala Hino <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[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]
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to