diff options
author | John Garry <john.garry@huawei.com> | 2021-05-13 20:00:57 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-05-24 06:47:22 -0600 |
commit | 56b68085e536eff2676108f2f8356889a7dbbf55 (patch) | |
tree | 25c19953b9d01908ba2a15253d34efdae66e5b57 /block/blk-mq-sched.c | |
parent | 364b61818f65045479e42e76ed8dd6f051778280 (diff) |
blk-mq: Some tag allocation code refactoring
The tag allocation code to alloc the sbitmap pairs is common for regular
bitmaps tags and shared sbitmap, so refactor into a common function.
Also remove superfluous "flags" argument from blk_mq_init_shared_sbitmap().
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/1620907258-30910-2-git-send-email-john.garry@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions