diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2011-03-02 17:22:49 -0600 |
---|---|---|
committer | Wu Fengguang <fengguang.wu@intel.com> | 2011-10-31 00:29:21 +0800 |
commit | b48c104d2211b0ac881a71f5f76a3816225f8111 (patch) | |
tree | b947f3fd4c8b49ee12d516f3eb520209c577387b /mm | |
parent | 50657fc4dfa7e345a1008f7c1de0bf930bbecca9 (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.c | 2 |
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, bdi->dirty_ratelimit = max(dirty_ratelimit, 1UL); bdi->balanced_dirty_ratelimit = balanced_dirty_ratelimit; + + trace_bdi_dirty_ratelimit(bdi, dirty_rate, task_ratelimit); } void __bdi_update_bandwidth(struct backing_dev_info *bdi, |