diff options
| author | Tejun Heo <[email protected]> | 2015-05-22 17:14:04 -0400 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2015-06-02 08:38:04 -0600 |
| commit | 429b3fb027492b2b9f96e00bb1a9255fc56d4934 (patch) | |
| tree | 8ca9081601d7d3a09e428760e004078a7f27a28b /tools/perf/scripts/python/bin | |
| parent | bafc0dba1e20d84578d7098d32caf63441e5743d (diff) | |
mpage: make __mpage_writepage() honor cgroup writeback
__mpage_writepage() is used to implement mpage_writepages() which in
turn is used for ->writepages() of 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, __mpage_writepage() currently ignores the
blkcg indicated by the inode and issues all bio's without explicit
blkcg association.
This patch updates __mpage_writepage() so that the issued bio's are
associated with inode_to_writeback_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]>
Cc: Alexander Viro <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions