diff options
author | Dennis Zhou (Facebook) <dennisszhou@gmail.com> | 2018-09-11 20:41:36 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-09-22 04:29:18 +0200 |
commit | b3b9f24f5fcc099c41f7dc1d02350635830888e5 (patch) | |
tree | f5d5e1a689c0e7ae5d99625a75fd5235c2f21fe8 /block/blk-iolatency.c | |
parent | blkcg: cleanup and make blk_get_rl use blkg_lookup_create (diff) | |
download | linux-b3b9f24f5fcc099c41f7dc1d02350635830888e5.tar.xz linux-b3b9f24f5fcc099c41f7dc1d02350635830888e5.zip |
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 <dennisszhou@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-iolatency.c')
0 files changed, 0 insertions, 0 deletions