summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorMichael Rubin <mrubin@google.com>2010-10-27 01:21:35 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-27 03:52:06 +0400
commitea941f0e2a8c02ae876cd73deb4e1557248f258c (patch)
treed2006c10cce4f134dc83f7f5aaa1d0096902cc1a /drivers/base
parentf629d1c9bd0dbc44a6c4f9a4a67d1646c42bfc6f (diff)
downloadlinux-ea941f0e2a8c02ae876cd73deb4e1557248f258c.tar.xz
writeback: add nr_dirtied and nr_written to /proc/vmstat
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_written 3618 Signed-off-by: Michael Rubin <mrubin@google.com> Reviewed-by: Wu Fengguang <fengguang.wu@intel.com> Cc: Dave Chinner <david@fromorbit.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions