Skip to content
Commit 72b28077 authored by Liu Bo's avatar Liu Bo Committed by David Sterba
Browse files

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: default avatarLiu Bo <bo.li.liu@oracle.com>
Reviewed-by: default avatarJosef Bacik <jbacik@fb.com>
[ minor string adjustments ]
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent c04e61b5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment