[PATCHv3 0/2] sbitmap wake fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Keith Busch <kbusch@xxxxxxxxxx>

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(-)

-- 
2.30.2





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux