Skip to content
Commit e11d80a8 authored by Tejun Heo's avatar Tejun Heo Committed by Jens Axboe
Browse files

blk-stat: make q->stats->lock irqsafe



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: default avatarTejun Heo <tj@kernel.org>
Fixes: cd006509 ("blk-iocost: account for IO size when testing latencies")
Cc: stable@vger.kernel.org # v5.8+
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5aeac7c4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment