diff options
author | 2023-05-22 17:05:55 -0400 | |
---|---|---|
committer | 2023-05-23 11:10:16 -0600 | |
commit | 3e94d54e83cafd2b562bb6d15bb2f72d76200fb5 (patch) | |
tree | 009ea8592672b715e904ad71645eaf25f2150f84 /scripts/generate_rust_analyzer.py | |
parent | blk-wbt: fix that wbt can't be disabled by default (diff) | |
download | wireguard-linux-3e94d54e83cafd2b562bb6d15bb2f72d76200fb5.tar.xz wireguard-linux-3e94d54e83cafd2b562bb6d15bb2f72d76200fb5.zip |
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 <tian.lan@twosigma.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20230522210555.794134-1-tilan7663@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions