Darshan N has posted comments on this change.
Change subject: gluster: Get size information of a gluster volume. ......................................................................
Patch Set 5:
(1 comment)
http://gerrit.ovirt.org/#/c/28581/5/vdsm/gluster/api.py File vdsm/gluster/api.py:
Line 203: replicaCount=0, options=None): Line 204: self.svdsmProxy.glusterVolumeRemoveBrickForce(volumeName, brickList, Line 205: replicaCount) Line 206: Line 207: def computeVolumeStats(self, data):
May be a private method by _computeVolumeStats()?
Done Line 208: total = (data.f_blocks - (data.f_bfree - data.f_bavail)) * data.f_bsize Line 209: free = data.f_bavail * data.f_bsize Line 210: used = total - free Line 211: return {'sizeTotal': str(total),