diff options
| author | John Garry <[email protected]> | 2021-10-18 09:41:23 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-21 14:21:52 +0000 |
| commit | 0994c64eb4159ba019e7fedc7ba0dd6a69235b40 (patch) | |
| tree | 3e754f29893f5fa6d13cb5bb4ec9b6eb5d6001af /fs/btrfs/dev-replace.c | |
| parent | block: cleanup the flush plug helpers (diff) | |
| download | kernel-0994c64eb4159ba019e7fedc7ba0dd6a69235b40.tar.gz kernel-0994c64eb4159ba019e7fedc7ba0dd6a69235b40.zip | |
blk-mq: Fix blk_mq_tagset_busy_iter() for shared tags
Since it is now possible for a tagset to share a single set of tags, the
iter function should not re-iter the tags for the count of #hw queues in
that case. Rather it should just iter once.
Fixes: e155b0c238b2 ("blk-mq: Use shared tags for shared sbitmap support")
Reported-by: Kashyap Desai <[email protected]>
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Tested-by: Kashyap Desai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
