kernel_optimize_test/fs/btrfs
Zhaolei 166f66d0bc 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>
2015-08-09 07:07:14 -07:00
..
tests
acl.c
async-thread.c
async-thread.h
backref.c Btrfs: teach backref walking about backrefs with underflowed offset values 2015-08-09 06:17:00 -07:00
backref.h
btrfs_inode.h
check-integrity.c
check-integrity.h
compression.c
compression.h
ctree.c btrfs: abort transaction on btrfs_reloc_cow_block() 2015-08-09 07:07:14 -07:00
ctree.h btrfs: Remove unnecessary variants in relocation.c 2015-08-09 07:07:14 -07:00
delayed-inode.c
delayed-inode.h
delayed-ref.c
delayed-ref.h
dev-replace.c btrfs: its btrfs_err() instead of btrfs_error() 2015-07-22 18:20:53 -07:00
dev-replace.h
dir-item.c
disk-io.c btrfs: Show detail information when mount failed on missing devices 2015-08-09 07:07:10 -07:00
disk-io.h
export.c
export.h
extent_io.c
extent_io.h
extent_map.c
extent_map.h
extent-tree.c btrfs: Remove root argument in extent_data_ref_count() 2015-08-09 07:07:14 -07:00
extent-tree.h
file-item.c
file.c
free-space-cache.c
free-space-cache.h
hash.c
hash.h
inode-item.c
inode-map.c
inode-map.h
inode.c Btrfs: fix stale dir entries after unlink, inode eviction and fsync 2015-08-09 06:16:58 -07:00
ioctl.c btrfs: fix search key advancing condition 2015-08-09 06:17:02 -07:00
Kconfig
locking.c btrfs: Add WARN_ON() for double lock in btrfs_tree_lock() 2015-08-09 07:07:14 -07:00
locking.h
lzo.c
Makefile
math.h
ordered-data.c
ordered-data.h
orphan.c
print-tree.c
print-tree.h
props.c
props.h
qgroup.c
qgroup.h
raid56.c
raid56.h
rcu-string.h
reada.c
relocation.c btrfs: Remove unnecessary variants in relocation.c 2015-08-09 07:07:14 -07:00
root-tree.c
scrub.c btrfs: Fix data checksum error cause by replace with io-load. 2015-08-09 07:07:13 -07:00
send.c
send.h
struct-funcs.c
super.c
sysfs.c
sysfs.h
transaction.c btrfs: Remove unnecessary variants in relocation.c 2015-08-09 07:07:14 -07:00
transaction.h
tree-defrag.c
tree-log.c Btrfs: fix stale dir entries after removing a link and fsync 2015-08-09 06:17:04 -07:00
tree-log.h
ulist.c
ulist.h
uuid-tree.c
volumes.c btrfs: Cleanup: Remove chunk_objectid argument from btrfs_relocate_chunk() 2015-08-09 07:07:13 -07:00
volumes.h
xattr.c
xattr.h
zlib.c