diff options
author | Tian Lan <[email protected]> | 2023-05-22 17:05:55 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-05-23 11:10:16 -0600 |
commit | 3e94d54e83cafd2b562bb6d15bb2f72d76200fb5 (patch) | |
tree | 009ea8592672b715e904ad71645eaf25f2150f84 /lib/buildid.c | |
parent | 8a2b20a997a3779ae9fcae268f2959eb82ec05a1 (diff) |
blk-mq: fix race condition in active queue accounting
If multiple CPUs are sharing the same hardware queue, it can
cause leak in the active queue counter tracking when __blk_mq_tag_busy()
is executed simultaneously.
Fixes: ee78ec1077d3 ("blk-mq: blk_mq_tag_busy is no need to return a value")
Signed-off-by: Tian Lan <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/buildid.c')
0 files changed, 0 insertions, 0 deletions