Skip to content
Snippets Groups Projects
Commit b7882093 authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-wbt: use wq_has_sleeper() for wq active check


We need the memory barrier before checking the list head,
use the appropriate helper for this. The matching queue
side memory barrier is provided by set_current_state().

Tested-by: default avatarAnchal Agarwal <anchalag@amazon.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ffa358dc
No related branches found
No related tags found
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