Change in vdsm[master]: FakeLVM: LV size is rounded to VG extent size

nsoffer at redhat.com nsoffer at redhat.com
Thu Apr 28 22:21:48 UTC 2016


Nir Soffer has submitted this change and it was merged.

Change subject: FakeLVM: LV size is rounded to VG extent size
......................................................................


FakeLVM: LV size is rounded to VG extent size

In real LVM, LV sizes must be a multiple of the VG extent size
(default=128m).  Our FakeLVM code assumed that size should just be
rounded to a multiple of 1M.  Fix this and add a test to check this
behavior.

Change-Id: Ifda962ff020b4b56f306f90f36c6daa9d3e5f4ad
Signed-off-by: Adam Litke <alitke at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/56714
Reviewed-by: Nir Soffer <nsoffer at redhat.com>
Continuous-Integration: Jenkins CI
---
M tests/storagefakelib.py
M tests/storagefakelibTests.py
2 files changed, 24 insertions(+), 7 deletions(-)

Approvals:
  Adam Litke: Verified
  Nir Soffer: Looks good to me, approved
  Jenkins CI: Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifda962ff020b4b56f306f90f36c6daa9d3e5f4ad
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the vdsm-patches mailing list