commit | 56b68085e536eff2676108f2f8356889a7dbbf55 | [log] [tgz] |
---|---|---|
author | John Garry <[email protected]> | Thu May 13 20:00:57 2021 +0800 |
committer | Jens Axboe <[email protected]> | Mon May 24 06:47:22 2021 -0600 |
tree | 25c19953b9d01908ba2a15253d34efdae66e5b57 | |
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 <[email protected]> Reviewed-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>