From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rolf Fokkens Subject: Re: [RFC] bcache-status Date: Wed, 04 Sep 2013 22:52:53 +0200 Message-ID: <52279DA5.7050505@rolffokkens.nl> References: <521A55D4.20908@rolffokkens.nl> <521A6B92.60001@rolffokkens.nl> <20130826163055.GB4780@blackbox.djwong.org> <521BBC3B.9010003@rolffokkens.nl> <20130829004646.GA3099@blackbox.djwong.org> <52264AAD.3050401@rolffokkens.nl> <20130904202600.GA4554@blackbox.djwong.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130904202600.GA4554-yuuUpGxbzT9UbpRmUfBrXUB+6BGkLq7r@public.gmane.org> Sender: linux-bcache-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Darrick J. Wong" Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-bcache@vger.kernel.org I'm not sure if I understand. On 09/04/2013 10:26 PM, Darrick J. Wong wrote: > Yeah... I calculate total cache size, then cache-used = cache-size * whatever > percentage bcache reports. It won't add up exactly due to rounding errors. > 0.999 -> 1.00. That's rather a lot, really. Is the following (snippet of the output I sent) the result of rounding errors? Total Cache Size 1.00GiB Total Cache Used 204.00MiB (10%) Total Cache Unused 1.00GiB (90%) I mean: the percentages are 10% and 90%.. >> - "Dirty Data" is -6 MB? > I think this was fixed in 3.11. OK, so that is a kernel issue.