On Tue, May 31, 2016 at 03:51:13PM +0800, Qu Wenruo wrote: > When a ext2 fs filled with a 57M file, it's possible that convert fails > with assert in add_merge_cache_extent(). > > The problem is that the ext2 used space just takes some of the second > superblock. > And due to a bug in reserving superblock space, it corrupted used space > tree and cause assert. > > Fix in by doing better used space merging for case where superblock > range is inside the ext2 used space. > > Reported-by: Satoru Takeuchi <takeuchi_satoru@xxxxxxxxxxxxxx> > Signed-off-by: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx> The reproduce seems easy, do you have an image or test script for that? Pach applied. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
