diff options
author | Tejun Heo <tj@kernel.org> | 2020-09-01 14:52:31 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-01 16:48:44 -0600 |
commit | 5aeac7c4b16069aae49005f0a8d4526baa83341b (patch) | |
tree | d380ddce8bf1e1a8d2e043e1491ba3da588ef89f /block/blk-stat.c | |
parent | 08fc1ab6d748ab1a690fd483f41e2938984ce353 (diff) | |
download | linux-stable-5aeac7c4b16069aae49005f0a8d4526baa83341b.tar.gz linux-stable-5aeac7c4b16069aae49005f0a8d4526baa83341b.tar.bz2 linux-stable-5aeac7c4b16069aae49005f0a8d4526baa83341b.zip |
blk-iocost: ioc_pd_free() shouldn't assume irq disabled
ioc_pd_free() grabs irq-safe ioc->lock without ensuring that irq is disabled
when it can be called with irq disabled or enabled. This has a small chance
of causing A-A deadlocks and triggers lockdep splats. Use irqsave operations
instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 7caa47151ab2 ("blkcg: implement blk-iocost")
Cc: stable@vger.kernel.org # v5.4+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-stat.c')
0 files changed, 0 insertions, 0 deletions