Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751826Ab0HXCmr (ORCPT ); Mon, 23 Aug 2010 22:42:47 -0400 Received: from smtp-out.google.com ([216.239.44.51]:38699 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751458Ab0HXCmn convert rfc822-to-8bit (ORCPT ); Mon, 23 Aug 2010 22:42:43 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=olLc2YQ1TBkSx9ab++TZvHlTAxh9trNL8rM1YQZP6iqm8KLGBAh/qenKQutp/1lfhh 28qzI5gvHmekwMlx/a7w== MIME-Version: 1.0 In-Reply-To: <20100824021136.GA9254@localhost> References: <20100821054808.GA29869@localhost> <20100824100943.F3B6.A69D9226@jp.fujitsu.com> <20100824021136.GA9254@localhost> From: Michael Rubin Date: Mon, 23 Aug 2010 19:42:20 -0700 Message-ID: Subject: Re: [PATCH 4/4] writeback: Reporting dirty thresholds in /proc/vmstat To: Wu Fengguang Cc: KOSAKI Motohiro , Peter Zijlstra , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-mm@kvack.org" , "jack@suse.cz" , "riel@redhat.com" , "akpm@linux-foundation.org" , "david@fromorbit.com" , "npiggin@kernel.dk" , "hch@lst.de" , "axboe@kernel.dk" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 609 Lines: 19 On Mon, Aug 23, 2010 at 7:11 PM, Wu Fengguang wrote: > Sorry for giving a wrong example. Hope this one is better: > > $ cat /debug/bdi/default/stats > [...] > DirtyThresh: ? ? ? 1838904 kB > BackgroundThresh: ? 919452 kB > [...] > > It's a trick to avoid messing with real devices :) That's cool. And it's the exact code path :-) mrubin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/