commit | 7fcf2b033b84e261dca283bc2911aaea4b07b525 | [log] [tgz] |
---|---|---|
author | Dennis Zhou <dennis@kernel.org> | Wed Dec 05 12:10:38 2018 -0500 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Dec 07 22:26:38 2018 -0700 |
tree | 87573c8336fd2fb9063dc554262d5b293877aa84 | |
parent | 6f70fb66182b02e50deea65e9a3a86b7bf659a39 [diff] |
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>