On Thu, Jun 15, 2017 at 11:17:17AM -0700, Shaohua Li wrote: > From: Shaohua Li <shli@xxxxxx> > > blkcg_bio_issue_check() already gets blkcg for a BIO. > bio_associate_blkcg() uses a percpu refcounter, so it's a very cheap > operation. There is no point we don't attach the cgroup info into bio at > blkcg_bio_issue_check. This also makes blktrace outputs correct cgroup > info. > > Signed-off-by: Shaohua Li <shli@xxxxxx> Acked-by: Tejun Heo <tj@xxxxxxxxxx> Thanks. -- tejun