From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Priebe - Profihost AG Subject: Re: [RFC] bcache-status Date: Thu, 05 Sep 2013 08:14:19 +0200 Message-ID: <5228213B.2060901@profihost.ag> 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> <52279DA5.7050505@rolffokkens.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52279DA5.7050505-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org> Sender: linux-bcache-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rolf Fokkens Cc: "Darrick J. Wong" , linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Kent Overstreet List-Id: linux-bcache@vger.kernel.org Am 04.09.2013 22:52, schrieb Rolf Fokkens: > 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. Any chance to get this fixed in 3.10 stable kernel too? Stefan