block: Convert BDI proportion calculations to flexible proportions
authorJan Kara <jack@suse.cz>
Thu, 24 May 2012 16:59:11 +0000 (18:59 +0200)
committerFengguang Wu <fengguang.wu@intel.com>
Fri, 8 Jun 2012 23:37:56 +0000 (08:37 +0900)
commiteb608e3a344b3af21300360fcf868f8b4e808a8e
tree34e36bc81c8b7bf459301e1eda96062c40bccbb3
parente78d4833c03e28205b3d983f0c4e586ee34785fd
block: Convert BDI proportion calculations to flexible proportions

Convert calculations of proportion of writeback each bdi does to new flexible
proportion code. That allows us to use aging period of fixed wallclock time
which gives better proportion estimates given the hugely varying throughput of
different devices.

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