Re: [PATCH 09/14] block: move blkcg initialization/destroy into disk allocation/release handler

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

 



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>






[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