Re: [PATCH 11/12] blkcg: change blkg reference counting to use percpu_ref

From: Tejun Heo
Date: Fri Sep 07 2018 - 13:59:18 EST


On Thu, Sep 06, 2018 at 05:10:44PM -0400, Dennis Zhou wrote:
> From: "Dennis Zhou (Facebook)" <dennisszhou@xxxxxxxxx>
>
> Now that every bio is associated with a blkg, this puts the use of
> blkg_get, blkg_try_get, and blkg_put on the hot path. This switches over
> the refcnt in blkg to use percpu_ref.
>
> Signed-off-by: Dennis Zhou <dennisszhou@xxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun