writeback: show bdi write bandwidth in debugfs
authorWu Fengguang <fengguang.wu@intel.com>
Sun, 29 Aug 2010 17:28:45 +0000 (11:28 -0600)
committerWu Fengguang <fengguang.wu@intel.com>
Sun, 10 Jul 2011 05:09:02 +0000 (22:09 -0700)
commit00821b002df7da867bb2c15b4f83f3706371383f
treea79cc3e8b5544d337387631eb7ff4c27fee4fe13
parente98be2d599207c6b31e9bb340d52a231b2f3662d
writeback: show bdi write bandwidth in debugfs

Add a "BdiWriteBandwidth" entry and indent others in /debug/bdi/*/stats.

btw, increase digital field width to 10, for keeping the possibly
huge BdiWritten number aligned at least for desktop systems.

Impact: this could break user space tools if they are dumb enough to
depend on the number of white spaces.

CC: Theodore Ts'o <tytso@mit.edu>
CC: Jan Kara <jack@suse.cz>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
mm/backing-dev.c