linux-stable/fs/btrfs/tests
Liu Bo 72b28077a2 Btrfs: add extent map selftests
We've observed that btrfs_get_extent() and merge_extent_mapping() could
return -EEXIST in several cases, and they are caused by some racy
condition, e.g dio read vs dio write, which makes the problem very tricky
to reproduce.

This adds extent map selftests in order to simulate those racy situations.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
[ minor string adjustments ]
Signed-off-by: David Sterba <dsterba@suse.com>
2018-01-22 16:08:22 +01:00
..
btrfs-tests.c Btrfs: add extent map selftests 2018-01-22 16:08:22 +01:00
btrfs-tests.h Btrfs: add extent map selftests 2018-01-22 16:08:22 +01:00
extent-buffer-tests.c btrfs: pull node/sector/stripe sizes out of root and into fs_info 2016-12-06 16:06:58 +01:00
extent-io-tests.c Btrfs: fix reported number of inode blocks after buffered append writes 2017-11-15 17:27:46 +01:00
extent-map-tests.c Btrfs: add extent map selftests 2018-01-22 16:08:22 +01:00
free-space-tests.c btrfs: pull node/sector/stripe sizes out of root and into fs_info 2016-12-06 16:06:58 +01:00
free-space-tree-tests.c btrfs: tests: Fix a memory leak in error handling path in 'run_test()' 2017-10-30 12:27:56 +01:00
inode-tests.c btrfs: Remove redundant FLAG_VACANCY 2018-01-22 16:08:14 +01:00
qgroup-tests.c btrfs: add a flag to iterate_inodes_from_logical to find all extent refs for uncompressed extents 2017-11-01 20:45:34 +01:00