From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: Re: [PATCH] writeback: trace global_dirty_state Date: Tue, 14 Jun 2011 21:46:55 +0800 Message-ID: <20110614134655.GB13768@localhost> References: <20110610144805.GA9986@localhost> <20110613143356.GG4907@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andrew Morton , Dave Chinner , Christoph Hellwig , Linux Memory Management List , "linux-fsdevel@vger.kernel.org" , LKML To: Jan Kara Return-path: Received: from mga14.intel.com ([143.182.124.37]:3951 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751424Ab1FNNrD (ORCPT ); Tue, 14 Jun 2011 09:47:03 -0400 Content-Disposition: inline In-Reply-To: <20110613143356.GG4907@quack.suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, Jun 13, 2011 at 10:33:56PM +0800, Jan Kara wrote: > On Fri 10-06-11 22:48:05, Wu Fengguang wrote: > > [It seems beneficial to queue this simple trace event for > > next/upstream after the review?] > > > > Add trace event balance_dirty_state for showing the global dirty page > > counts and thresholds at each global_dirty_limits() invocation. This > > will cover the callers throttle_vm_writeout(), over_bground_thresh() > > and each balance_dirty_pages() loop. > OK, this might be useful. But shouldn't we also add similar trace point > for bdi limits? Otherwise the information is of limited use... Good point. The bdi limits will be exported in another balance_dirty_pages trace point. Thanks, Fengguang