commit | 3d2936f457a847d9d88a9cc127e0eb7a0ebba0ff | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Tue May 27 23:35:14 2014 +0800 |
committer | Jens Axboe <axboe@fb.com> | Tue May 27 09:37:08 2014 -0600 |
tree | 575a307f9715ee60ab45dbe31b677c644975f7ad | |
parent | 624dbe47541643b72868a59b2c0059bb53dc923f [diff] |
block: only allocate/free mq_usage_counter in blk-mq The percpu counter is only used for blk-mq, so move its allocation and free inside blk-mq, and don't allocate it for legacy queue device. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>