Change in ovirt-hosted-engine-ha[master]: Fix size calculation when zeroing VDSM volumes

sbonazzo at redhat.com sbonazzo at redhat.com
Wed Jul 6 13:48:09 UTC 2016


Sandro Bonazzola has submitted this change and it was merged.

Change subject: Fix size calculation when zeroing VDSM volumes
......................................................................


Fix size calculation when zeroing VDSM volumes

Instead of os.stat().st_size, which works only on regular files,
open the file and seek to the end.

Change-Id: Ibfba9c165983e6b36dacdff844960827bbe57995
Bug-Url: https://bugzilla.redhat.com/1346341
Signed-off-by: Yedidyah Bar David <didi at redhat.com>
---
M ovirt_hosted_engine_ha/lib/storage_backends.py
1 file changed, 7 insertions(+), 2 deletions(-)

Approvals:
  Sandro Bonazzola: Looks good to me, approved
  Simone Tiraboschi: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Yedidyah Bar David: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibfba9c165983e6b36dacdff844960827bbe57995
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list