Skip to content

dirty throttling bits for 3.3 (v2)

Wu Fengguang linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 10 repliesIn review

Changes since v1 from the cover letter

- added many comments and enriched changelog
- rename dirty_leaks to dirty_throttle_leaks
- add the btrfs accounting fix for sub-page writes
- account bdp_ratelimits at page dirty time (and use this_cpu_inc)

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7writeback: balanced_rate cannot exceed write bandwidthmm/page-writeback.c+5 -01 reply
2/7writeback: charge leaked page dirties to active tasksinclude/linux/writeback.h kernel/exit.c mm/page-writeback.c+31 -01 reply
3/7writeback: fix dirtied pages accounting on sub-page writesmm/page-writeback.c+5 -84 replies
4/7writeback: fix dirtied pages accounting on redirtyinclude/linux/writeback.h mm/page-writeback.c+21 -01 reply
5/7btrfs: fix dirtied pages accounting on sub-page writesfs/btrfs/file.c+2 -11 reply
6/7writeback: dirty ratelimit - think time compensationinclude/linux/sched.h include/trace/events/writeback.h kernel/fork.c +1 more+45 -71 reply
7/7writeback: comment on the bdi dirty thresholdmm/page-writeback.c+14 -21 reply

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchPeter ZijlstraJan Kara
1/7A-b A-b
2/7A-b A-b
3/7A-b A-b
4/7A-b A-b
5/7
6/7A-b A-b
7/7A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] dirty throttling bits for 3.3 (v2)

Hi,

There are now 7 dirty throttling improvements targeting for Linux 3.3.

Changes since v1:
- added many comments and enriched changelog
- rename dirty_leaks to dirty_throttle_leaks
- add the btrfs accounting fix for sub-page writes
- account bdp_ratelimits at page dirty time (and use this_cpu_inc)

[PATCH 1/7] writeback: balanced_rate cannot exceed write bandwidth [PATCH 2/7] writeback: charge leaked page dirties to active tasks [PATCH 3/7] writeback: fix dirtied pages accounting on sub-page writes [PATCH 4/7] writeback: fix dirtied pages accounting on redirty [PATCH 5/7] btrfs: fix dirtied pages accounting on sub-page writes [PATCH 6/7] writeback: dirty ratelimit - think time compensation [PATCH 7/7] writeback: comment on the bdi dirty threshold

 fs/btrfs/file.c                  |    3 
 include/linux/sched.h            |    1 
 include/linux/writeback.h        |    4 +
 include/trace/events/writeback.h |   14 ++-
 kernel/exit.c                    |    2 
 kernel/fork.c                    |    1 
 mm/page-writeback.c              |  116 +++++++++++++++++++++++++----
 7 files changed, 123 insertions(+), 18 deletions(-)

Thanks,
Fengguang