diff options
| author | Tejun Heo <[email protected]> | 2020-09-01 18:52:32 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-09-01 22:48:46 +0000 |
| commit | e11d80a849e010f78243bb6f6af7dccef3a71a90 (patch) | |
| tree | 062c215da69eba44baa7a2f416c6299c7a42e832 /net/switchdev/switchdev.c | |
| parent | blk-iocost: ioc_pd_free() shouldn't assume irq disabled (diff) | |
| download | kernel-e11d80a849e010f78243bb6f6af7dccef3a71a90.tar.gz kernel-e11d80a849e010f78243bb6f6af7dccef3a71a90.zip | |
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 <[email protected]>
Fixes: cd006509b0a9 ("blk-iocost: account for IO size when testing latencies")
Cc: [email protected] # v5.8+
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
