writeback: account per-bdi accumulated dirtied pages
authorWu Fengguang <fengguang.wu@intel.com>
Sun, 23 Jan 2011 16:07:47 +0000 (10:07 -0600)
committerWu Fengguang <fengguang.wu@intel.com>
Mon, 3 Oct 2011 13:08:56 +0000 (21:08 +0800)
commitc8e28ce049faa53a470c132893abbc9f2bde9420
tree40553e72f50a613c93f4175d1d28d06abc90db65
parent9b13776977d45505469edc6decc93e9e3799afe2
writeback: account per-bdi accumulated dirtied pages

Introduce the BDI_DIRTIED counter. It will be used for estimating the
bdi's dirty bandwidth.

CC: Jan Kara <jack@suse.cz>
CC: Michael Rubin <mrubin@google.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
include/linux/backing-dev.h
mm/backing-dev.c
mm/page-writeback.c