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

From: Tejun Heo
Date: Fri Sep 08 2017 - 10:41:21 EST


Hello,

On Wed, Sep 06, 2017 at 07:00:52PM -0700, Shaohua Li wrote:
> From: Shaohua Li <shli@xxxxxx>
>
> Several blkcg APIs are deprecated. After removing them, bio_blkcg is the
> only API to get cgroup info for a bio. If bio_blkcg finds current task
> is a kthread and has original css recorded, it will use the css instead
> of associating the bio to current task.

Can you please separate out removal of unused APIs from modifications
of existing ones? The patch is a bit confusing to follow.

Thanks.

--
tejun