Re: [PATCH] btrfs-progs: Check factor out root parsing from check_chunks_and_extents

2018-07-02 Thread David Sterba
On Mon, Jun 18, 2018 at 02:10:58PM +0300, Nikolay Borisov wrote: > check_chunks_and_extents does quite a number of distinct things. The > first of those is going through all root items in the root tree and > classify every root depending on whether they have a dropping operation > in progress or no

Re: [PATCH] btrfs-progs: Check factor out root parsing from check_chunks_and_extents

2018-06-19 Thread Su Yue
On 06/19/2018 01:34 PM, Nikolay Borisov wrote: On 19.06.2018 05:18, Su Yue wrote: On 06/18/2018 07:10 PM, Nikolay Borisov wrote: check_chunks_and_extents does quite a number of distinct things. The first of those is going through all root items in the root tree and classify every root de

Re: [PATCH] btrfs-progs: Check factor out root parsing from check_chunks_and_extents

2018-06-18 Thread Nikolay Borisov
On 19.06.2018 05:18, Su Yue wrote: > > > On 06/18/2018 07:10 PM, Nikolay Borisov wrote: >> check_chunks_and_extents does quite a number of distinct things. The >> first of those is going through all root items in the root tree and >> classify every root depending on whether they have a droppin

Re: [PATCH] btrfs-progs: Check factor out root parsing from check_chunks_and_extents

2018-06-18 Thread Su Yue
On 06/18/2018 07:10 PM, Nikolay Borisov wrote: check_chunks_and_extents does quite a number of distinct things. The first of those is going through all root items in the root tree and classify every root depending on whether they have a dropping operation in progress or not. Lets factor out th

[PATCH] btrfs-progs: Check factor out root parsing from check_chunks_and_extents

2018-06-18 Thread Nikolay Borisov
check_chunks_and_extents does quite a number of distinct things. The first of those is going through all root items in the root tree and classify every root depending on whether they have a dropping operation in progress or not. Lets factor out this code and move the variables specific to this in a