summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2019-11-14 23:31:28 +0100
committerJens Axboe <axboe@kernel.dk>2019-11-18 16:40:41 +0100
commit496074f94b19574c77240d3b3f84cfb1097de51d (patch)
tree508ec8a8c34bec8cd9eadfcc2fc1fcb89bffd566 /block
parentblock: Don't disable interrupts in trigger_softirq() (diff)
downloadlinux-496074f94b19574c77240d3b3f84cfb1097de51d.tar.xz
linux-496074f94b19574c77240d3b3f84cfb1097de51d.zip
blk-cgroup: cgroup_rstat_updated() shouldn't be called on cgroup1
Currently, cgroup rstat is supported only on cgroup2 hierarchy and rstat functions shouldn't be called on cgroup1 cgroups. While converting blk-cgroup core statistics to rstat, f73316482977 ("blk-cgroup: reimplement basic IO stats using cgroup rstat") accidentally ended up calling cgroup_rstat_updated() on cgroup1 cgroups causing crashes. Longer term, we probably should add cgroup1 support to rstat but for now let's mask the call directly. Fixes: f73316482977 ("blk-cgroup: reimplement basic IO stats using cgroup rstat") Tested-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions