diff options
author | John Garry <john.garry@huawei.com> | 2021-10-05 18:23:34 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 06:17:02 -0600 |
commit | a7e7388dced47a10ca13ae95ca975ea2830f196b (patch) | |
tree | 88a38c33c253aa4947d64a25e3632f15db3d9f59 /drivers/infiniband | |
parent | 4f245d5bf0f7432c881e22a77066160a6cba8e03 (diff) | |
download | linux-stable-a7e7388dced47a10ca13ae95ca975ea2830f196b.tar.gz linux-stable-a7e7388dced47a10ca13ae95ca975ea2830f196b.tar.bz2 linux-stable-a7e7388dced47a10ca13ae95ca975ea2830f196b.zip |
blk-mq: Add blk_mq_tag_update_sched_shared_sbitmap()
Put the functionality to update the sched shared sbitmap size in a common
function.
Since the same formula is always used to resize, and it can be got from
the request queue argument, so just pass the request queue pointer.
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/1633429419-228500-10-git-send-email-john.garry@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions