Re: [PATCH 2/2] btrfs: fix free space calculation in dump_space_info()

2016-07-11 Thread Wang Xiaoguang
hello, On 07/08/2016 10:28 PM, David Sterba wrote: On Wed, Jul 06, 2016 at 06:16:06PM +0800, Wang Xiaoguang wrote: hello, On 07/05/2016 01:10 AM, David Sterba wrote: On Wed, Jun 29, 2016 at 01:12:16PM +0800, Wang Xiaoguang wrote: Can you please describe in more detail what is this patch

Re: [PATCH 2/2] btrfs: fix free space calculation in dump_space_info()

2016-07-08 Thread David Sterba
On Wed, Jul 06, 2016 at 06:16:06PM +0800, Wang Xiaoguang wrote: > hello, > > On 07/05/2016 01:10 AM, David Sterba wrote: > > On Wed, Jun 29, 2016 at 01:12:16PM +0800, Wang Xiaoguang wrote: > > > > Can you please describe in more detail what is this patch fixing? > In original dump_space_info(),

Re: [PATCH 2/2] btrfs: fix free space calculation in dump_space_info()

2016-07-06 Thread Wang Xiaoguang
hello, On 07/05/2016 01:10 AM, David Sterba wrote: On Wed, Jun 29, 2016 at 01:12:16PM +0800, Wang Xiaoguang wrote: Can you please describe in more detail what is this patch fixing? In original dump_space_info(), free space info is calculated by info->total_bytes - info->bytes_used -

Re: [PATCH 2/2] btrfs: fix free space calculation in dump_space_info()

2016-07-04 Thread David Sterba
On Wed, Jun 29, 2016 at 01:12:16PM +0800, Wang Xiaoguang wrote: Can you please describe in more detail what is this patch fixing? > Signed-off-by: Wang Xiaoguang > --- > fs/btrfs/extent-tree.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff

[PATCH 2/2] btrfs: fix free space calculation in dump_space_info()

2016-06-28 Thread Wang Xiaoguang
Signed-off-by: Wang Xiaoguang --- fs/btrfs/extent-tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 8550a0e..520ba8f 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@