Re: [PATCH v5 1/3] btrfs: add helper function describe_block_group()

2018-11-20 Thread Anand Jain
Thanks for the review.. more below. On 11/20/2018 01:02 AM, David Sterba wrote: On Wed, Nov 14, 2018 at 09:17:10PM +0800, Anand Jain wrote: Improve on describe_relocation() add a common helper function to describe the block groups. Signed-off-by: Anand Jain Reviewed-by: David Sterba ---

Re: [PATCH v5 1/3] btrfs: add helper function describe_block_group()

2018-11-19 Thread David Sterba
On Wed, Nov 14, 2018 at 09:17:10PM +0800, Anand Jain wrote: > Improve on describe_relocation() add a common helper function to describe > the block groups. > > Signed-off-by: Anand Jain > Reviewed-by: David Sterba > --- > v4.1->v5: Initialize buf[128] to null. > v4->v4.1: Use strcpy(buf,

[PATCH v5 1/3] btrfs: add helper function describe_block_group()

2018-11-14 Thread Anand Jain
Improve on describe_relocation() add a common helper function to describe the block groups. Signed-off-by: Anand Jain Reviewed-by: David Sterba --- v4.1->v5: Initialize buf[128] to null. v4->v4.1: Use strcpy(buf, "|NONE"); as in the original v3->v4: Just pass full flag name in the define