diff options
| author | Keith Busch <kbusch@kernel.org> | 2022-08-25 07:53:12 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-09-01 10:42:41 -0600 |
| commit | 16ede66973c84f890c03584f79158dd5b2d725f5 (patch) | |
| tree | a021cb3e0dbe12dde89734f1c558e29b28758c18 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | sbitmap: remove unnecessary code in __sbitmap_queue_get_batch (diff) | |
| download | linux-16ede66973c84f890c03584f79158dd5b2d725f5.tar.gz linux-16ede66973c84f890c03584f79158dd5b2d725f5.zip | |
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/20220825145312.1217900-1-kbusch@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
