diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2011-03-02 18:22:49 -0500 |
---|---|---|
committer | Wu Fengguang <fengguang.wu@intel.com> | 2011-10-30 12:29:21 -0400 |
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, | |||
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 | ||
880 | void __bdi_update_bandwidth(struct backing_dev_info *bdi, | 882 | void __bdi_update_bandwidth(struct backing_dev_info *bdi, |