diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-08-20 22:20:50 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-08-23 00:07:31 +0300 |
commit | b78820937b4762b7d30b807d7156bec1d89e4dd3 (patch) | |
tree | a4500f662f1f18e496ae7660e6daca5307b82d3a /virt/kvm/coalesced_mmio.h | |
parent | ffa358dcaae1f2f00926484e712e06daa8953cb4 (diff) | |
download | linux-b78820937b4762b7d30b807d7156bec1d89e4dd3.tar.xz |
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>
Diffstat (limited to 'virt/kvm/coalesced_mmio.h')
0 files changed, 0 insertions, 0 deletions