commit | 6c71013ecb7e2bddbed9f5b95e7aed22c491daa9 | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Thu Jul 16 11:16:45 2015 +0800 |
committer | Jens Axboe <axboe@fb.com> | Fri Jul 17 08:41:53 2015 -0600 |
tree | 773a3ebe4289815e677ce2b357c665cba5292c0e | |
parent | b54e5ed8f285d62c0d242c4ef9da90937994db02 [diff] |
block: partition: convert percpu ref Percpu refcount is the perfect match for partition's case, and the conversion is quite straight. With the convertion, one pair of atomic inc/dec can be saved for accounting block I/O, which is run in hot path of block I/O. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@fb.com>