Re: small diff in reported GiB size of an SSD

From: James Bottomley
Date: Mon Feb 29 2016 - 10:49:15 EST


On Mon, 2016-02-29 at 13:31 +0000, Toralf FÃrster wrote:
> I'm just curious about this diff in dmesg output between 4.3.2 and
> 4.3.3 at a 64 bit Gentoo hardened system:
>
> $ diff dmesg-4.4.[23]-hardened | grep logical
> < sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/223
> GiB)
> > sd 0:0:0:0: [sda] 468862128 512-byte logical blocks: (240 GB/224
> > GiB)
>

commit 564b026fbd0d28e9f70fb3831293d2922bb7855b
Author: James Bottomley <JBottomley@xxxxxxxx>
Date: Wed Jan 20 14:58:29 2016 -0800

string_helpers: fix precision loss for some inputs

James