]> www.infradead.org Git - users/jedix/linux-maple.git/commit
block: use an atomic_t for mq_freeze_depth
authorChristoph Hellwig <hch@lst.de>
Thu, 7 May 2015 07:38:13 +0000 (09:38 +0200)
committerDan Duval <dan.duval@oracle.com>
Thu, 8 Dec 2016 18:35:24 +0000 (13:35 -0500)
commitc03fa711de6a1dfd139ea12e273caacf681a1665
tree8c2b849db7299dfe0a607219b37b1f0bf7e43ba2
parentb7925bd8f6b6b744860a6178bb142fe0a0a9f7d1
block: use an atomic_t for mq_freeze_depth

Orabug: 22913653

lockdep gets unhappy about the not disabling irqs when using the queue_lock
around it.  Instead of trying to fix that up just switch to an atomic_t
and get rid of the lock.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 4ecd4fef3a074c8bb43c391a57742c422469ebbd)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
block/blk-mq.c
include/linux/blkdev.h