Bala.FA 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()? 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), -- To view, visit http://gerrit.ovirt.org/28581 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: If5d622738ae955eb4002f56fc73adb4f07f0b857 Gerrit-PatchSet: 5 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Darshan N <dnara...@redhat.com> Gerrit-Reviewer: Antoni Segura Puimedon <asegu...@redhat.com> Gerrit-Reviewer: Aravinda VK <avish...@redhat.com> Gerrit-Reviewer: Bala.FA <barum...@redhat.com> Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com> Gerrit-Reviewer: Darshan N <dnara...@redhat.com> Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com> Gerrit-Reviewer: Timothy Asir <tjeya...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches