On Mon, Feb 13, 2023 at 11:41:34AM +0100, Christoph Hellwig wrote: > To avoid a circular reference, do not grab a device model reference > to the gendisk for each blkg, but just the lower level inode reference > preventing the memory from beeing freed. It might not be enough to just prevent gendisk memory from being freed, anywhere queue reference via disk->queue could become not safe given disk->queue can be released after disk_release() is called. thanks, Ming