Home
last modified time | relevance | path

Searched hist:e11d80a849e010f78243bb6f6af7dccef3a71a90 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dblk-stat.cdiff e11d80a849e010f78243bb6f6af7dccef3a71a90 Tue Sep 01 13:52:32 CDT 2020 Tejun Heo <tj@kernel.org> 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: Tejun Heo <tj@kernel.org>
Fixes: cd006509b0a9 ("blk-iocost: account for IO size when testing latencies")
Cc: stable@vger.kernel.org # v5.8+
Signed-off-by: Jens Axboe <axboe@kernel.dk>