diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-12-20 18:50:58 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-20 22:17:21 +0300 |
commit | 00203ba40d40d7f33857416adfb18adaf0e40123 (patch) | |
tree | e10c6d169b9ca0c8dadccf03aba159c134cefdc2 /block/blk-zoned.c | |
parent | 9f6b7ef6c3ebe35be77b0ae3cf12e4d25ae80420 (diff) | |
download | linux-00203ba40d40d7f33857416adfb18adaf0e40123.tar.xz |
kyber: use sbitmap add_wait_queue/list_del wait helpers
sbq_wake_ptr() checks sbq->ws_active to know if it needs to loop
the wait indexes or not. This requires the use of the sbitmap
waitqueue wrappers, but kyber doesn't use those for its domain
token waitqueue handling.
Convert kyber to use the helpers. This fixes a hang with waiting
for domain tokens.
Fixes: 5d2ee7122c73 ("sbitmap: optimize wakeup check")
Tested-by: Ming Lei <ming.lei@redhat.com>
Reported-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-zoned.c')
0 files changed, 0 insertions, 0 deletions