diff options
| author | Michael Rubin <[email protected]> | 2010-10-26 14:21:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-26 16:52:06 -0700 |
| commit | ea941f0e2a8c02ae876cd73deb4e1557248f258c (patch) | |
| tree | d2006c10cce4f134dc83f7f5aaa1d0096902cc1a /scripts | |
| parent | f629d1c9bd0dbc44a6c4f9a4a67d1646c42bfc6f (diff) | |
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 <[email protected]>
Reviewed-by: Wu Fengguang <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Nick Piggin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions