]> Git Repo - linux.git/commit
blkcg: change blkg reference counting to use percpu_ref
authorDennis Zhou (Facebook) <[email protected]>
Tue, 11 Sep 2018 18:41:36 +0000 (14:41 -0400)
committerJens Axboe <[email protected]>
Sat, 22 Sep 2018 02:29:18 +0000 (20:29 -0600)
commitb3b9f24f5fcc099c41f7dc1d02350635830888e5
treef5d5e1a689c0e7ae5d99625a75fd5235c2f21fe8
parente2b0989954ae7c80609f77e7ce203bea6d2c54e1
blkcg: change blkg reference counting to use percpu_ref

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 <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-cgroup.c
include/linux/blk-cgroup.h
This page took 0.055432 seconds and 4 git commands to generate.