[PATCH 0/5] block: freeze/unfreeze lockdep fixes

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

 



Hello,

The 1st patch removes blk_freeze_queue().

The 2nd & 3rd patches add blk_mq_freeze_queue_non_owner() and apply
it on rbd.

The 4th patches fixes potential unfreeze lock verification on non-owner
context.

The 5th patch doesn't verify io lock in elevator_init_mq() for fixing
false lockdep warning.

Ming Lei (5):
  block: remove blk_freeze_queue()
  blk-mq: add non_owner variant of blk_mq_freeze_queue API
  rbd: convert to blk_mq_freeze_queue_non_owner
  block: always verify unfreeze lock on the owner task
  block: don't verify IO lock for freeze/unfreeze in elevator_init_mq()

 block/blk-core.c       |  2 +-
 block/blk-mq.c         | 98 ++++++++++++++++++++++++++++--------------
 block/blk.h            |  4 +-
 block/elevator.c       |  8 +++-
 drivers/block/rbd.c    |  2 +-
 include/linux/blk-mq.h |  1 +
 include/linux/blkdev.h |  4 ++
 7 files changed, 81 insertions(+), 38 deletions(-)

-- 
2.47.0





[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