diff options
author | Dennis Zhou <dennis@kernel.org> | 2018-12-05 20:10:38 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-08 08:26:38 +0300 |
commit | 7fcf2b033b84e261dca283bc2911aaea4b07b525 (patch) | |
tree | 87573c8336fd2fb9063dc554262d5b293877aa84 /block/bio.c | |
parent | 6f70fb66182b02e50deea65e9a3a86b7bf659a39 (diff) | |
download | linux-7fcf2b033b84e261dca283bc2911aaea4b07b525.tar.xz |
blkcg: change blkg reference counting to use percpu_ref
Every bio is now associated with a blkg putting blkg_get, blkg_try_get,
and blkg_put on the hot path. Switch over the refcnt in blkg to use
percpu_ref.
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions