Re: [PATCH] blk-cgroup: don't update io stat for root cgroup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux