Flexible I/O Tester development
 help / color / mirror / Atom feed
* Unit Prefixes
@ 2013-04-15  7:07 Aaron Carroll
  2013-04-15  8:29 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Aaron Carroll @ 2013-04-15  7:07 UTC (permalink / raw)
  To: fio@vger.kernel.org

I just noticed that the binary/decimal unit prefixes are around the
wrong way, in that [KMG]iB is treated as base-10, and [kMG]B as
base-2.

Is this intentional?


  -- Aaron

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unit Prefixes
  2013-04-15  7:07 Unit Prefixes Aaron Carroll
@ 2013-04-15  8:29 ` Jens Axboe
  2013-04-15  9:27   ` Aaron Carroll
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2013-04-15  8:29 UTC (permalink / raw)
  To: Aaron Carroll; +Cc: fio@vger.kernel.org

On Mon, Apr 15 2013, Aaron Carroll wrote:
> I just noticed that the binary/decimal unit prefixes are around the
> wrong way, in that [KMG]iB is treated as base-10, and [kMG]B as
> base-2.
> 
> Is this intentional?

Is this a new "feature" (eg did it come in from the gfio merge), or has
it always been so?

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unit Prefixes
  2013-04-15  8:29 ` Jens Axboe
@ 2013-04-15  9:27   ` Aaron Carroll
  2013-04-15 10:17     ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Aaron Carroll @ 2013-04-15  9:27 UTC (permalink / raw)
  To: Jens Axboe; +Cc: fio@vger.kernel.org

Seems to have been introduced in commit 57fc29fa to master Wed Jun 23
22:24:07 2010 +0200

On 15 April 2013 18:29, Jens Axboe <axboe@kernel.dk> wrote:
> On Mon, Apr 15 2013, Aaron Carroll wrote:
>> I just noticed that the binary/decimal unit prefixes are around the
>> wrong way, in that [KMG]iB is treated as base-10, and [kMG]B as
>> base-2.
>>
>> Is this intentional?
>
> Is this a new "feature" (eg did it come in from the gfio merge), or has
> it always been so?
>
> --
> Jens Axboe
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unit Prefixes
  2013-04-15  9:27   ` Aaron Carroll
@ 2013-04-15 10:17     ` Jens Axboe
  0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2013-04-15 10:17 UTC (permalink / raw)
  To: Aaron Carroll; +Cc: fio@vger.kernel.org

On Mon, Apr 15 2013, Aaron Carroll wrote:
> Seems to have been introduced in commit 57fc29fa to master Wed Jun 23
> 22:24:07 2010 +0200

You are right, it's old and it's not correct.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-15 10:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15  7:07 Unit Prefixes Aaron Carroll
2013-04-15  8:29 ` Jens Axboe
2013-04-15  9:27   ` Aaron Carroll
2013-04-15 10:17     ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox