Skip to content
Commit 35d37c66 authored by Jens Axboe's avatar Jens Axboe
Browse files

Revert "blk-mq: Micro-optimize bt_get()"



This reverts commit 52f7eb94.

The optimization is only really safe for a single queue, otherwise
'bs' and 'bt' can indeed change, and if we don't do a finish_wait()
for each loop, we'll potentially change the wait structure and
corrupt task wait list.

Reported-by: default avatarJan Kara <jack@suse.cz>
parent 67e2c388
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment