On Thu, 02 Feb 2023 10:18:04 +0800, Ming Lei wrote: > We source root cgroup stats from the system-wide stats, see blkcg_print_stat > and blkcg_rstat_flush, so don't update io state for root cgroup. > > Fixes blkg leak issue introduced in commit 3b8cc6298724 ("blk-cgroup: Optimize blkcg_rstat_flush()") > which starts to grab blkg's reference when adding iostat_cpu into percpu > blkcg list, but this state won't be consumed by blkcg_rstat_flush() where > the blkg reference is dropped. > > [...] Applied, thanks! [1/1] blk-cgroup: don't update io stat for root cgroup commit: 0416f3be58c6b1ea066cd52e354b857693feb01e Best regards, -- Jens Axboe