aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2011-03-02 18:22:49 -0500
committerWu Fengguang <fengguang.wu@intel.com>2011-10-30 12:29:21 -0400
commitb48c104d2211b0ac881a71f5f76a3816225f8111 (patch)
treeb947f3fd4c8b49ee12d516f3eb520209c577387b /mm
parent50657fc4dfa7e345a1008f7c1de0bf930bbecca9 (diff)
writeback: trace event bdi_dirty_ratelimit
It helps understand how various throttle bandwidths are updated. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/page-writeback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 0802d5177997..e3c2d8bf87bb 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -875,6 +875,8 @@ static void bdi_update_dirty_ratelimit(struct backing_dev_info *bdi,
875 875
876 bdi->dirty_ratelimit = max(dirty_ratelimit, 1UL); 876 bdi->dirty_ratelimit = max(dirty_ratelimit, 1UL);
877 bdi->balanced_dirty_ratelimit = balanced_dirty_ratelimit; 877 bdi->balanced_dirty_ratelimit = balanced_dirty_ratelimit;
878
879 trace_bdi_dirty_ratelimit(bdi, dirty_rate, task_ratelimit);
878} 880}
879 881
880void __bdi_update_bandwidth(struct backing_dev_info *bdi, 882void __bdi_update_bandwidth(struct backing_dev_info *bdi,