commit | 4acb83417cadfdcbe64215f9d0ddcf3132af808e | [log] [tgz] |
---|---|---|
author | Keith Busch <kbusch@kernel.org> | Fri Sep 09 11:40:22 2022 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Sep 12 00:10:34 2022 -0600 |
tree | 45bdd14acf29ddc9b49cbb26e30323446d4aaeb6 | |
parent | c35227d4e8cbc70a6622cc7cc5f8c3bff513f1fa [diff] |
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>