On 24.04.19 г. 15:48 ч., Qu Wenruo wrote:
> Let's dump the leaf content before triggering BUG_ON() so that we can
> have some clue on what's going wrong.
> The output of tree locks should help us to debug such problem.
>
The reason is some sort of in-memory corruption/confusion of the extent
maps, causing overlapping extents. However so far it hasn't been
possible to reproduce that on-demand to actually debug it. Filipe
suspected it has to do with extent mapping merging logic. This only
occurs when working with the log tree which takes its data from the
in-memory extent mapping tree.