Re: [PATCH] btrfs: ctree: Dump the leaf before BUG_ON()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2019/4/24 下午8:52, Nikolay Borisov wrote:
>
>
> 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.

Anyway, this won't hurt. right?

If it gives us some clue, that's the best case.
If not, it won't make the current situation worse, right?

Thanks,
Qu




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux