Bug 1500653 - Size unit should be written as GiB/TiB/MiB notation.
Summary: Size unit should be written as GiB/TiB/MiB notation.
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-11 09:41 UTC by Amar Tumballi
Modified: 2019-07-10 06:50 UTC (History)
7 users (show)

Fixed In Version:
Clone Of: 1444761
Environment:
Last Closed: 2019-07-10 06:50:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.