diff options
| author | Tejun Heo <[email protected]> | 2015-06-02 08:37:23 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2015-06-02 08:37:23 -0600 |
| commit | bafc0dba1e20d84578d7098d32caf63441e5743d (patch) | |
| tree | e6ee1d8fd5b84a6a39da8705ce777b912fb70a02 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 0747259d13febfcc838980a63c414c9b920cea6f (diff) | |
buffer, writeback: make __block_write_full_page() honor cgroup writeback
[__]block_write_full_page() is used to implement ->writepage in
various filesystems. All writeback logic is now updated to handle
cgroup writeback and the block cgroup to issue IOs for is encoded in
writeback_control and can be retrieved from the inode; however,
[__]block_write_full_page() currently ignores the blkcg indicated by
inode and issues all bio's without explicit blkcg association.
This patch adds submit_bh_blkcg() which associates the bio with the
specified blkio cgroup before issuing and uses it in
__block_write_full_page() so that the issued bio's are associated with
inode_to_wb_blkcg_css(inode).
v2: Updated for per-inode wb association.
Signed-off-by: Tejun Heo <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions