diff options
author | Keith Busch <kbusch@kernel.org> | 2022-09-09 11:40:22 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-12 00:10:34 -0600 |
commit | 4acb83417cadfdcbe64215f9d0ddcf3132af808e (patch) | |
tree | 45bdd14acf29ddc9b49cbb26e30323446d4aaeb6 /block/ioctl.c | |
parent | c35227d4e8cbc70a6622cc7cc5f8c3bff513f1fa (diff) | |
download | linux-4acb83417cadfdcbe64215f9d0ddcf3132af808e.tar.bz2 |
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>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions