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

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

 



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) Only skip bad slot
>    The old code skipped all the remaining slots, here we just skip one
>    slot to output as many correct tree blocks as possible.
> 
> 3) Enhance warning message
>    Ouput the parent bytenr and expected and wrong level, so we don't
>    need refer to the stdout to get which tree block is corrupted.
> 
> Signed-off-by: Qu Wenruo <wqu@xxxxxxxx>

Applied, thanks.
--
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




[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