diff options
author | Mike Snitzer <snitzer@redhat.com> | 2017-06-19 17:55:47 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2017-06-21 18:45:02 +0300 |
commit | 7def52b78a5fda14864aab9b6fd14f09a4d4ff72 (patch) | |
tree | fa4686fb458fd43860bca7b069bc5ff967d0e975 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | cd15fb64ee56192760ad5c1e2ad97a65e735b18b (diff) | |
download | linux-7def52b78a5fda14864aab9b6fd14f09a4d4ff72.tar.xz |
dm integrity: fix to not disable/enable interrupts from interrupt context
Use spin_lock_irqsave and spin_unlock_irqrestore rather than
spin_{lock,unlock}_irq in submit_flush_bio().
Otherwise lockdep issues the following warning:
DEBUG_LOCKS_WARN_ON(current->hardirq_context)
WARNING: CPU: 1 PID: 0 at kernel/locking/lockdep.c:2748 trace_hardirqs_on_caller+0x107/0x180
Reported-by: Ondrej Kozina <okozina@redhat.com>
Tested-by: Ondrej Kozina <okozina@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions