summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_nl.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2015-07-16 05:16:45 +0200
committerJens Axboe <axboe@fb.com>2015-07-17 16:41:53 +0200
commit6c71013ecb7e2bddbed9f5b95e7aed22c491daa9 (patch)
tree773a3ebe4289815e677ce2b357c665cba5292c0e /drivers/block/drbd/drbd_nl.c
parentblock: partition: introduce hd_free_part() (diff)
downloadlinux-6c71013ecb7e2bddbed9f5b95e7aed22c491daa9.tar.xz
linux-6c71013ecb7e2bddbed9f5b95e7aed22c491daa9.zip
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>
Diffstat (limited to 'drivers/block/drbd/drbd_nl.c')
0 files changed, 0 insertions, 0 deletions