Skip to content

sbitmap wake fixes

Keith Busch linux-block 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 2 patches 0 repliesNew

Patches in v3 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCHv3 0/2] sbitmap wake fixes

From: Keith Busch <[email protected]>

changes from v2:

Adding a prep patch that fixes a condition that can leave the wait_cnt at the wrong value.

Changed the number to wake up to account for the number of bits released in previous batches instead of just the current batch.

Keith Busch (2):
sbitmap: check waitqueue_active prior to decrement
sbitmap: fix batched wait_cnt accounting

 block/blk-mq-tag.c      |  2 +-
 include/linux/sbitmap.h |  3 ++-
 lib/sbitmap.c           | 36 ++++++++++++++++++++----------------
 3 files changed, 23 insertions(+), 18 deletions(-)
Signature · 1 line
2.30.2