aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2019-05-06 15:44:12 +0000
committerDavid Sterba <[email protected]>2019-05-16 12:33:51 +0000
commit4e9845eff5a8027b5181d5bff56a02991fe46d48 (patch)
treed49383efac1e04f415a37a0aa0931cb6703040bc /lib/test_stackinit.c
parentBtrfs: fix race between ranged fsync and writeback of adjacent ranges (diff)
downloadkernel-4e9845eff5a8027b5181d5bff56a02991fe46d48.tar.gz
kernel-4e9845eff5a8027b5181d5bff56a02991fe46d48.zip
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 <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions