Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664173 > unrolled thread

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

Started byTejun Heo <tj@kernel.org>
First post2017-06-12 20:50 +0200
Last post2017-06-12 20:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 08/11] block: always attach cgroup info into bio Tejun Heo <tj@kernel.org> - 2017-06-12 20:50 +0200

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

FromTejun Heo <tj@kernel.org>
Date2017-06-12 20:50 +0200
SubjectRe: [PATCH 08/11] block: always attach cgroup info into bio
Message-ID<tRCzw-5S5-1@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web