On Mon, May 06, 2019 at 04:44:12PM +0100, fdmanana@xxxxxxxxxx wrote: > From: Filipe Manana <fdmanana@xxxxxxxx> > > 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). > > Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx> Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef
