Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1664173
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 08/11] block: always attach cgroup info into bio |
| Date | 2017-06-12 20:50 +0200 |
| Message-ID | <tRCzw-5S5-1@gated-at.bofh.it> (permalink) |
| References | <tO2LT-6Ey-3@gated-at.bofh.it> <tO2LT-6Ey-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 08/11] block: always attach cgroup info into bio Tejun Heo <tj@kernel.org> - 2017-06-12 20:50 +0200
csiph-web