On Wed, May 24, 2023 at 10:37:10AM +0800, Ming Lei <ming.lei@xxxxxxxxxx> wrote: > > I am not at all familiar with blkcg, but does calling > > cgroup_rstat_flush() in offline_css() fix the problem? > > Except for offline, this list needs to be flushed after the associated disk > is deleted. Why the second flush trigger? a) To break another ref-dependency cycle (like on the blkcg side)? b) To avoid stale data upon device removal? (Because b) should be unnecessary, a future reader would flush when needed.) Thanks, Michal
Attachment:
signature.asc
Description: PGP signature