[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170913214202.GC378890@devbig577.frc2.facebook.com>
Date: Wed, 13 Sep 2017 14:42:02 -0700
From: Tejun Heo <tj@...nel.org>
To: Shaohua Li <shli@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
lizefan@...wei.com, tglx@...utronix.de, kernel-team@...com,
axboe@...nel.dk, Shaohua Li <shli@...com>
Subject: Re: [PATCH V2 3/4] block: make blkcg aware of kthread stored
original cgroup info
On Wed, Sep 13, 2017 at 02:01:28PM -0700, Shaohua Li wrote:
> From: Shaohua Li <shli@...com>
>
> 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 <shli@...com>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
Powered by blists - more mailing lists