Actions
Fix #4612
closedunit_to_bytesize(), si_t, prettybyte_t use 'K' for kilo; SI recommends 'k'
% Done:
0%
Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
It's a pet peeve, but the abbreviation for "kilo" (or "kibi") is 'k', not 'K'.
I'm happy with making it both, but we can't not accept 'k'.
Updated by Dan Mick almost 11 years ago
- Subject changed from unit_to_bytestring: uses 'K' for kilo; SI recommends 'k' to si_t, prettybyte_t use 'K' for kilo; SI recommends 'k'
Updated by Dan Mick over 10 years ago
This is now parsed as input in unit_to_bytesize(), and printed in the various classes
in types.h. Fix both sides (allow both on input, use lowercase on output).
Updated by Dan Mick over 10 years ago
- Status changed from New to Fix Under Review
Updated by Dan Mick over 10 years ago
- Subject changed from si_t, prettybyte_t use 'K' for kilo; SI recommends 'k' to unit_to_bytesize(), si_t, prettybyte_t use 'K' for kilo; SI recommends 'k'
Updated by Sage Weil over 10 years ago
- Status changed from Fix Under Review to Resolved
Actions