Re: [PATCH v3 2/5] btrfs: tree-checker: Enhance btrfs_check_node output

2017-10-06 Thread David Sterba
On Fri, Sep 29, 2017 at 06:48:46AM +, Qu Wenruo wrote: > Use inline function to replace macro since we don't need > stringification. > (Macro still exist until all caller get updated) > > And add more info about the error, and replace EIO with EUCLEAN. > > For nr_items error, report if it's t

[PATCH v3 2/5] btrfs: tree-checker: Enhance btrfs_check_node output

2017-09-28 Thread Qu Wenruo
Use inline function to replace macro since we don't need stringification. (Macro still exist until all caller get updated) And add more info about the error, and replace EIO with EUCLEAN. For nr_items error, report if it's too large or too small, and output valid value range. For blk pointer, ad