On 3/4/22 08:03, Christoph Hellwig wrote: > From: Ming Lei <ming.lei@xxxxxxxxxx> > > blkcg works on FS bio level, so it is reasonable to make both blkcg and > gendisk sharing same lifetime. Meantime there won't be any FS IO when > releasing disk, so safe to move blkcg initialization/destroy into disk > allocation/release handler > > Long term, we can move blkcg into gendisk completely. > > Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx> > Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx> > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- Looks good. Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>