Bug 1500653

Summary: Size unit should be written as GiB/TiB/MiB notation.
Product: [Community] GlusterFS Reporter: Amar Tumballi <atumball>
Component: coreAssignee: bugs <bugs>
Status: CLOSED DEFERRED QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: amukherj, bmekala, bugs, knoha, pasik, rhs-bugs, vbellur
Target Milestone: ---Keywords: EasyFix, StudentProject
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1444761 Environment:
Last Closed: 2019-07-10 06:50:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Amar Tumballi 2017-10-11 09:42:04 UTC
Document URL: 
Size unit should be written as GiB/TiB/MiB (binary prefix) notation.

For example, https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.2/html/administration_guide/sect-limiting_disk_usage

~~~
gluster volume quota data limit-usage /dir 100GB
~~~

The actual implementation is GiB(binary prefix). 

c.f. https://github.com/gluster/glusterfs/blob/master/libglusterfs/src/common-utils.h

Version-Release number of selected component (if applicable):
Current

How reproducible:
Always

Actual results:
The wrong notation causes unnecessary question to support team or our customers will be confused which unit system is used.

Expected results:
The all size notation should be written as binary prefix because its current implementation.
c.f. http://physics.nist.gov/cuu/Units/binary.html

Additional info:
In current, common-utils.h or other section uses binary prefix.

Comment 2 Worker Ant 2017-10-11 09:44:09 UTC
REVIEW: https://review.gluster.org/18486 (logging: size unit Change to proper standard) posted (#1) for review on master by Amar Tumballi (amarts)