Thread (23 messages) 23 messages, 4 authors, 2017-06-12

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

From: Tejun Heo <tj@kernel.org>
Date: 2017-06-12 18:49:09
Also in: lkml

On Fri, Jun 02, 2017 at 02:54:01PM -0700, Shaohua Li wrote:
quoted hunk ↗ jump to hunk
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help