Re: [PATCH 2/2] btrfs-progs: check: enhanced progress indicator

2018-07-17 Thread David Sterba
On Tue, Jul 17, 2018 at 10:23:47AM +0900, Misono Tomohiro wrote: > On 2018/07/05 4:20, Stéphane Lesimple wrote: > > @@ -9806,16 +9839,26 @@ int cmd_check(int argc, char **argv) > > error("errors found in csum tree"); > > err |= !!ret; > > > > - fprintf(stderr, "checking root

Re: [PATCH 2/2] btrfs-progs: check: enhanced progress indicator

2018-07-16 Thread Misono Tomohiro
On 2018/07/05 4:20, Stéphane Lesimple wrote: > We reuse the task_position enum and task_ctx struct of the original progress > indicator, adding more values and fields for our needs. > > Then add hooks in all steps of the check to properly record progress. > > Signed-off-by: Stéphane Lesimple >

Re: [PATCH 2/2] btrfs-progs: check: enhanced progress indicator

2018-07-16 Thread David Sterba
On Wed, Jul 11, 2018 at 01:18:55PM +0800, Qu Wenruo wrote: > On 2018年07月05日 03:20, Stéphane Lesimple wrote: > > We reuse the task_position enum and task_ctx struct of the original progress > > indicator, adding more values and fields for our needs. > > > > Then add hooks in all steps of the check

Re: [PATCH 2/2] btrfs-progs: check: enhanced progress indicator

2018-07-10 Thread Qu Wenruo
On 2018年07月05日 03:20, Stéphane Lesimple wrote: > We reuse the task_position enum and task_ctx struct of the original progress > indicator, adding more values and fields for our needs. > > Then add hooks in all steps of the check to properly record progress. > > Signed-off-by: Stéphane Lesimple