Re: [PATCH 1/2] btrfs-progs: add sys_chunk_array and backup roots info to show-super

2014-05-15 Thread Gui Hecheng
On Thu, 2014-05-15 at 18:35 +0200, David Sterba wrote: > On Thu, May 08, 2014 at 11:03:57AM +0800, Gui Hecheng wrote: > > Add sys chunk array and backup roots info if the new option '-f' > > if specified. > > This may be useful for debugging sys_chunk related issues. > > Sounds useful. One comment

Re: [PATCH 1/2] btrfs-progs: add sys_chunk_array and backup roots info to show-super

2014-05-15 Thread David Sterba
On Thu, May 08, 2014 at 11:03:57AM +0800, Gui Hecheng wrote: > Add sys chunk array and backup roots info if the new option '-f' > if specified. > This may be useful for debugging sys_chunk related issues. Sounds useful. One comment below. > +static void print_sys_chunk_array(struct btrfs_super_bl

[PATCH 1/2] btrfs-progs: add sys_chunk_array and backup roots info to show-super

2014-05-07 Thread Gui Hecheng
Add sys chunk array and backup roots info if the new option '-f' if specified. This may be useful for debugging sys_chunk related issues. Signed-off-by: Gui Hecheng --- btrfs-show-super.c | 138 - print-tree.c | 2 +- print-tree.h