Thread (11 messages) 11 messages, 2 authors, 2017-09-13

Re: [PATCH V2 3/4] block: make blkcg aware of kthread stored original cgroup info

From: Tejun Heo <tj@kernel.org>
Date: 2017-09-13 21:42:09
Also in: lkml

On Wed, Sep 13, 2017 at 02:01:28PM -0700, Shaohua Li wrote:
From: Shaohua Li <redacted>

bio_blkcg is the only API to get cgroup info for a bio right now. If
bio_blkcg finds current task is a kthread and has original blkcg
associated, it will use the css instead of associating the bio to
current task. This makes it possible that kthread dispatches bios on
behalf of other threads.

Signed-off-by: Shaohua Li <redacted>
Acked-by: Tejun Heo <tj@kernel.org>

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