Keith Busch 4acb83417c sbitmap: fix batched wait_cnt accounting
Batched completions can clear multiple bits, but we're only decrementing
the wait_cnt by one each time. This can cause waiters to never be woken,
stalling IO. Use the batched count instead.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=215679
Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20220909184022.1709476-1-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-09-12 00:10:34 -06:00
..
2022-08-03 10:35:43 -07:00
2022-07-14 12:14:30 -06:00
2022-07-14 12:14:30 -06:00
2022-03-31 12:58:38 -06:00
2022-02-02 07:49:59 -07:00
2022-03-21 16:48:55 -07:00
2022-07-14 12:14:30 -06:00
2022-08-08 22:37:15 -04:00
2022-03-07 12:48:35 -07:00