From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: Re: [PATCH 3/5] writeback: nr_dirtied and nr_written in /proc/vmstat Date: Mon, 13 Sep 2010 10:58:32 +0800 Message-ID: <20100913025831.GB7697@localhost> References: <1284323440-23205-1-git-send-email-mrubin@google.com> <1284323440-23205-4-git-send-email-mrubin@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "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" , "kosaki.motohiro@jp.fujitsu.com" , "npiggin@kernel.dk" , "hch@lst.de" , "axboe@kernel.dk" To: Michael Rubin Return-path: Content-Disposition: inline In-Reply-To: <1284323440-23205-4-git-send-email-mrubin@google.com> Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Mon, Sep 13, 2010 at 04:30:38AM +0800, Michael Rubin wrote: > To help developers and applications gain visibility into writeback > behaviour adding two entries to vm_stat_items and /proc/vmstat. This > will allow us to track the "written" and "dirtied" counts. > > # grep nr_dirtied /proc/vmstat > nr_dirtied 3747 > # grep nr_written /proc/vmstat > nr_cleaned 3618 s/nr_cleaned/nr_written Reviewed-by: Wu Fengguang -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org