[PATCH] btrfs-progs: inspect-dump-tree: add '-f|--follow' options to print all children tree blocks for '-b'

2018-03-13 Thread Qu Wenruo
When debuging with "btrfs inspect dump-tree", it's not that handy if we want to iterate all child tree blocks starting from a specified block. -b can only print a single block, while without -b "btrfs inspect dump-tree" will need extra tree roots fulfilled to continue, which is not possible for so

Re: [PATCH] btrfs-progs: inspect-dump-tree: add '-f|--follow' options to print all children tree blocks for '-b'

2018-03-19 Thread David Sterba
On Wed, Mar 14, 2018 at 09:05:38AM +0800, Qu Wenruo wrote: > When debuging with "btrfs inspect dump-tree", it's not that handy if we > want to iterate all child tree blocks starting from a specified block. > > -b can only print a single block, while without -b "btrfs inspect dump-tree" > will need

Re: [PATCH] btrfs-progs: inspect-dump-tree: add '-f|--follow' options to print all children tree blocks for '-b'

2018-03-19 Thread Qu Wenruo
On 2018年03月20日 02:44, David Sterba wrote: > On Wed, Mar 14, 2018 at 09:05:38AM +0800, Qu Wenruo wrote: >> When debuging with "btrfs inspect dump-tree", it's not that handy if we >> want to iterate all child tree blocks starting from a specified block. >> >> -b can only print a single block, while

Re: [PATCH] btrfs-progs: inspect-dump-tree: add '-f|--follow' options to print all children tree blocks for '-b'

2018-03-21 Thread David Sterba
On Tue, Mar 20, 2018 at 01:19:21PM +0800, Qu Wenruo wrote: > > > On 2018年03月20日 02:44, David Sterba wrote: > > On Wed, Mar 14, 2018 at 09:05:38AM +0800, Qu Wenruo wrote: > >> When debuging with "btrfs inspect dump-tree", it's not that handy if we > >> want to iterate all child tree blocks startin