Skip to content

memcg: add per cgroup dirty page accounting

Tejun Heo cgroups drbd-dev linux-ext4 linux-fsdevel linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest49 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/49memcg: add per cgroup dirty page accountingDocumentation/cgroups/memory.txt fs/buffer.c fs/xfs/xfs_aops.c +9 more+140 -340 replies
2/49blkcg: move block/blk-cgroup.h to include/linux/blk-cgroup.hblock/blk-cgroup.c block/blk-cgroup.h block/blk-core.c +5 more+609 -6090 replies
3/49update !CONFIG_BLK_CGROUP dummies in include/linux/blk-cgroup.hinclude/linux/blk-cgroup.h+5 -20 replies
4/49blkcg: always create the blkcg_gq for the root blkcgblock/blk-cgroup.c+41 -550 replies
5/49memcg: add mem_cgroup_root_cssinclude/linux/memcontrol.h mm/memcontrol.c+6 -00 replies
6/49blkcg: add blkcg_root_cssblock/blk-cgroup.c include/linux/blk-cgroup.h+5 -00 replies
7/49cgroup, block: implement task_get_css() and use it in bio_associate_current()block/bio.c include/linux/cgroup.h+26 -100 replies
8/49blkcg: implement task_get_blkcg_css()include/linux/blk-cgroup.h+12 -00 replies
9/49blkcg: implement bio_associate_blkcg()block/bio.c include/linux/bio.h+26 -10 replies
10/49memcg: implement mem_cgroup_css_from_page()include/linux/memcontrol.h mm/memcontrol.c+15 -00 replies
11/49writeback: move backing_dev_info->state into bdi_writebackblock/blk-core.c drivers/block/drbd/drbd_main.c drivers/md/dm.c +5 more+38 -391 reply
12/49writeback: move backing_dev_info->bdi_stat[] into bdi_writebackfs/fs-writeback.c fs/fuse/file.c fs/nfs/internal.h +6 more+108 -985 replies
13/49writeback: move bandwidth related fields from backing_dev_info into bdi_writebackfs/f2fs/node.c fs/f2fs/segment.h fs/fs-writeback.c +6 more+187 -1922 replies
14/49writeback: s/bdi/wb/ in mm/page-writeback.cmm/page-writeback.c+134 -1361 reply
15/49writeback: move backing_dev_info->wb_lock and ->worklist into bdi_writebackfs/fs-writeback.c include/linux/backing-dev.h mm/backing-dev.c+74 -813 replies
16/49writeback: reorganize mm/backing-dev.cmm/backing-dev.c+87 -871 reply
17/49writeback: separate out include/linux/backing-dev-defs.hblock/blk-integrity.c block/blk-sysfs.c block/bounce.c +24 more+132 -1021 reply
18/49bdi: make inode_to_bdi() inlinefs/block_dev.c fs/fs-writeback.c include/linux/backing-dev.h +2 more+26 -252 replies
19/49writeback: add @gfp to wb_init()mm/backing-dev.c+5 -41 reply
20/49bdi: separate out congested state into a separate structinclude/linux/backing-dev-defs.h include/linux/backing-dev.h mm/backing-dev.c+18 -51 reply
21/49writeback: add {CONFIG|BDI_CAP|FS}_CGROUP_WRITEBACKblock/blk-core.c include/linux/backing-dev.h include/linux/fs.h +1 more+38 -20 replies
22/49writeback: make backing_dev_info host cgroup-specific bdi_writebacksblock/blk-cgroup.c fs/fs-writeback.c fs/inode.c +8 more+698 -110 replies
23/49writeback, blkcg: associate each blkcg_gq with the corresponding bdi_writeback_congestedblock/blk-cgroup.c include/linux/blk-cgroup.h+21 -20 replies
24/49writeback: attribute stats to the matching per-cgroup bdi_writebackmm/filemap.c mm/page-writeback.c mm/truncate.c+19 -110 replies
25/49writeback: let balance_dirty_pages() work on the matching cgroup bdi_writebackmm/page-writeback.c+13 -50 replies
26/49writeback: make congestion functions per bdi_writebackinclude/linux/backing-dev-defs.h include/linux/backing-dev.h mm/backing-dev.c+49 -320 replies
27/49writeback, blkcg: restructure blk_{set|clear}_queue_congested()block/blk-core.c include/linux/blkdev.h+37 -440 replies
28/49writeback, blkcg: propagate non-root blkcg congestion stateblock/blk-core.c+9 -60 replies
29/49writeback: implement and use inode_congested()fs/fs-writeback.c include/linux/backing-dev.h mm/fadvise.c +2 more+58 -80 replies
30/49writeback: implement WB_has_dirty_io wb_state flagfs/fs-writeback.c include/linux/backing-dev-defs.h include/linux/backing-dev.h +1 more+86 -290 replies
31/49writeback: implement backing_dev_info->tot_write_bandwidthfs/fs-writeback.c include/linux/backing-dev-defs.h mm/page-writeback.c+11 -10 replies
32/49writeback: make bdi_has_dirty_io() take multiple bdi_writeback's into accountfs/fs-writeback.c include/linux/backing-dev-defs.h include/linux/backing-dev.h +2 more+25 -130 replies
33/49writeback: don't issue wb_writeback_work if cleanfs/fs-writeback.c+10 -80 replies
34/49writeback: make bdi->min/max_ratio handling cgroup writeback awaremm/page-writeback.c+46 -40 replies
35/49writeback: implement bdi_for_each_wb()include/linux/backing-dev.h+63 -00 replies
36/49writeback: remove bdi_start_writeback()fs/fs-writeback.c include/linux/backing-dev.h mm/page-writeback.c+29 -470 replies
37/49writeback: make laptop_mode_timer_fn() handle multiple bdi_writeback'smm/page-writeback.c+9 -30 replies
38/49writeback: make writeback_in_progress() take bdi_writeback instead of backing_dev_infofs/fs-writeback.c include/linux/backing-dev.h mm/page-writeback.c+14 -170 replies
39/49writeback: make bdi_start_background_writeback() take bdi_writeback instead of backing_dev_infofs/fs-writeback.c include/linux/backing-dev.h mm/page-writeback.c+9 -90 replies
40/49writeback: make wakeup_flusher_threads() handle multiple bdi_writeback'sfs/fs-writeback.c+46 -20 replies
41/49writeback: add wb_writeback_work->auto_freefs/fs-writeback.c+6 -70 replies
42/49writeback: implement bdi_wait_for_completion()fs/fs-writeback.c include/linux/backing-dev-defs.h mm/backing-dev.c+48 -120 replies
43/49writeback: implement wb_wait_for_single_work()fs/fs-writeback.c+45 -20 replies
44/49writeback: restructure try_writeback_inodes_sb[_nr]()fs/fs-writeback.c include/linux/writeback.h+32 -260 replies
45/49writeback: make writeback initiation functions handle multiple bdi_writeback'sfs/fs-writeback.c+91 -50 replies
46/49writeback: dirty inodes against their matching cgroup bdi_writeback'sfs/fs-writeback.c+11 -120 replies
47/49buffer, writeback: make __block_write_full_page() honor cgroup writebackfs/buffer.c include/linux/backing-dev.h+32 -60 replies
48/49mpage: make __mpage_writepage() honor cgroup writebackfs/mpage.c+2 -00 replies
49/49ext2: enable cgroup writeback supportfs/ext2/super.c+1 -10 replies

Reviews trailers per patch

10 of 49 patches have a Reviewed-by or Acked-by.

PatchJan Kara
1/49
2/49
3/49
4/49
5/49
6/49
7/49
8/49
9/49
10/49
11/49R-b
12/49R-b
13/49R-b
14/49R-b
15/49R-b
16/49R-b
17/49R-b
18/49R-b
19/49R-b
20/49R-b
21/49
22/49
23/49
24/49
25/49
26/49
27/49
28/49
29/49
30/49
31/49
32/49
33/49
34/49
35/49
36/49
37/49
38/49
39/49
40/49
41/49
42/49
43/49
44/49
45/49
46/49
47/49
48/49
49/49

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

Read the v1 thread