Deepak C Shetty has posted comments on this change.
Change subject: gluster: Get size information of a gluster volume ......................................................................
Patch Set 5:
A general Q: IF gfapi.py is used only to query the statvfs info... the same could be done by temp. mounting the volume, df -h, parsing it and return the total, free and used bytes, then unmounting the volume on the host. Are there plans to extend gfapi.py beyond supporting just 1 api ? In other words, is it worth to add so much stuff just to get volumeStats only ?