Re: [PATCH 08/11] block: always attach cgroup info into bio

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

 



On Fri, Jun 02, 2017 at 02:54:01PM -0700, Shaohua Li wrote:
> @@ -691,6 +691,8 @@ static inline bool blkcg_bio_issue_check(struct request_queue *q,
>  	rcu_read_lock();
>  	blkcg = bio_blkcg(bio);
>  
> +	bio_associate_blkcg(bio, &blkcg->css);
> +

Let's please note that this only established the fallback mapping when
the bio hasn't been associated yet and doesn't override the existing
association.

Thanks.

-- 
tejun



[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