lkml.org 
[lkml]   [2017]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/11] block: always attach cgroup info into bio
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

\
 
 \ /
  Last update: 2017-06-12 20:58    [W:0.090 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site