diff options
author | 2015-08-06 22:39:36 +0800 | |
---|---|---|
committer | 2015-08-09 07:07:14 -0700 | |
commit | 166f66d0bc94a14ec4bc6ee6ab079532df4a8d9e (patch) | |
tree | 276972a024d58650bcf98113bfd264b9ff1c3fb5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | btrfs: Remove root argument in extent_data_ref_count() (diff) | |
download | wireguard-linux-166f66d0bc94a14ec4bc6ee6ab079532df4a8d9e.tar.xz wireguard-linux-166f66d0bc94a14ec4bc6ee6ab079532df4a8d9e.zip |
btrfs: Add WARN_ON() for double lock in btrfs_tree_lock()
When a task trying to double lock a extent buffer, there are no
lockdep warning about it because this lock may be in "blocking_lock"
state, and make us hard to debug.
This patch add a WARN_ON() for above condition, it can not report
all deadlock cases(as lock between tasks), but at least helps us
some.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions