commit | b78820937b4762b7d30b807d7156bec1d89e4dd3 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Aug 20 13:20:50 2018 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Aug 22 15:07:31 2018 -0600 |
tree | a4500f662f1f18e496ae7660e6daca5307b82d3a | |
parent | ffa358dcaae1f2f00926484e712e06daa8953cb4 [diff] |
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: Anchal Agarwal <anchalag@amazon.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>