diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-12-20 16:50:58 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-20 20:17:21 +0100 |
commit | 00203ba40d40d7f33857416adfb18adaf0e40123 (patch) | |
tree | e10c6d169b9ca0c8dadccf03aba159c134cefdc2 /fs/aio.c | |
parent | sbitmap: add helpers for add/del wait queue handling (diff) | |
download | linux-00203ba40d40d7f33857416adfb18adaf0e40123.tar.xz linux-00203ba40d40d7f33857416adfb18adaf0e40123.zip |
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 'fs/aio.c')
0 files changed, 0 insertions, 0 deletions