Re: [PATCH] btrfs-progs: print-tree: Add leaf flags and backref revision output

2017-05-09 Thread David Sterba
On Mon, May 08, 2017 at 03:38:10PM +0800, Qu Wenruo wrote: > Btrfs header has a u64 member flags, whose lowest 56 bits are for header > flags like WRITTEN and RELOC. > And its highest 8 bits are for backref revision. > > Manually checking btrfs_header_flags() will be a pain, so add such leaf >

[PATCH] btrfs-progs: print-tree: Add leaf flags and backref revision output

2017-05-08 Thread Qu Wenruo
Btrfs header has a u64 member flags, whose lowest 56 bits are for header flags like WRITTEN and RELOC. And its highest 8 bits are for backref revision. Manually checking btrfs_header_flags() will be a pain, so add such leaf flags and backref revision output for print-tree. Signed-off-by: Qu