Re: [PATCH] btrfs-progs: print-tree: Enhance warning on tree block level mismatch and error handling

2018-03-19 Thread David Sterba
On Thu, Mar 15, 2018 at 12:48:15PM +0800, Qu Wenruo wrote: > This patch enhance the tree block level mismatch by the following > methods: > > 1) Merge same warning branches into one >We had two branches showing the same message, and their condition >is also the same. Merge them > > 2)

[PATCH] btrfs-progs: print-tree: Enhance warning on tree block level mismatch and error handling

2018-03-14 Thread Qu Wenruo
This patch enhance the tree block level mismatch by the following methods: 1) Merge same warning branches into one We had two branches showing the same message, and their condition is also the same. Merge them 2) Only skip bad slot The old code skipped all the remaining slots, here we