diff options
author | Tejun Heo <tj@kernel.org> | 2020-09-01 21:52:32 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-02 01:48:46 +0300 |
commit | e11d80a849e010f78243bb6f6af7dccef3a71a90 (patch) | |
tree | 062c215da69eba44baa7a2f416c6299c7a42e832 /include | |
parent | 5aeac7c4b16069aae49005f0a8d4526baa83341b (diff) | |
download | linux-e11d80a849e010f78243bb6f6af7dccef3a71a90.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions