diff options
author | Tejun Heo <tj@kernel.org> | 2019-06-14 01:30:41 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-06-15 19:39:42 +0300 |
commit | 6631142229005e1b1c311a09efe9fb3cfdac8559 (patch) | |
tree | 26f8b21314b83d627d3d0354d1abf3638397832a /block | |
parent | 71c814077de60b2e7415dac6f5c4e98f59d521fd (diff) | |
download | linux-6631142229005e1b1c311a09efe9fb3cfdac8559.tar.xz |
blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arbitration
wbc_account_io() collects information on cgroup ownership of writeback
pages to determine which cgroup should own the inode. Pages can stay
associated with dead memcgs but we want to avoid attributing IOs to
dead blkcgs as much as possible as the association is likely to be
stale. However, currently, pages associated with dead memcgs
contribute to the accounting delaying and/or confusing the
arbitration.
Fix it by ignoring pages associated with dead memcgs.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions