Files
linux/block
Tejun Heo 3c76133259 blk-stat: make q->stats->lock irqsafe
commit e11d80a849 upstream.

blk-iocost calls blk_stat_enable_accounting() while holding an irqsafe lock
which triggers a lockdep splat because q->stats->lock isn't irqsafe. Let's
make it irqsafe.

Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: cd006509b0 ("blk-iocost: account for IO size when testing latencies")
Cc: stable@vger.kernel.org # v5.8+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-09 19:14:30 +02:00
..
2020-09-03 11:29:27 +02:00
2020-09-03 11:29:27 +02:00
2020-09-03 11:29:27 +02:00
2020-09-03 11:29:27 +02:00
2020-09-03 11:29:38 +02:00
2020-03-17 20:55:21 +01:00
2020-05-29 16:30:39 -06:00
2020-01-03 09:33:21 +01:00
2019-07-15 09:20:27 -03:00
2020-01-06 20:59:04 -07:00