diff options
author | Filipe Manana <fdmanana@suse.com> | 2019-05-06 16:44:12 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-05-16 14:33:51 +0200 |
commit | 4e9845eff5a8027b5181d5bff56a02991fe46d48 (patch) | |
tree | d49383efac1e04f415a37a0aa0931cb6703040bc /fs/adfs/super.c | |
parent | 0c713cbab6200b0ab6473b50435e450a6e1de85d (diff) | |
download | linux-4e9845eff5a8027b5181d5bff56a02991fe46d48.tar.bz2 |
Btrfs: tree-checker: detect file extent items with overlapping ranges
Having file extent items with ranges that overlap each other is a
serious issue that leads to all sorts of corruptions and crashes (like a
BUG_ON() during the course of __btrfs_drop_extents() when it traims file
extent items). Therefore teach the tree checker to detect such cases.
This is motivated by a recently fixed bug (race between ranged full
fsync and writeback or adjacent ranges).
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/adfs/super.c')
0 files changed, 0 insertions, 0 deletions