Re: [PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-08 Thread David Sterba
On Mon, Oct 07, 2013 at 03:21:46PM +0800, Wang Shilong wrote: You can use it like: btrfs qgroup show --block-size=m mnt Here, block size supports k/K/m/M/g/G/t/T/p/P/e/E. There is no distinction between the 1000 and 1024 based prefixes, also no way to get the raw values in bytes. I

Re: [PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-08 Thread Shilong Wang
Thanks for finding this, the problem comes to patch [v3 9/12]. When updating max columns len of child_qgroup, i miswrite qgroup-member to qgroup-parent, i have updated this patch and send a v4, it can be appiled without conflicts with later. Thanks, Wang 2013/10/8 David Sterba dste...@suse.cz:

Re: [PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-08 Thread Shilong Wang
Sorry, This should to reply to the bug that you find, not this thread. Anyway, you are smart enough to get this . 2013/10/9 Shilong Wang wangshilong1...@gmail.com: Thanks for finding this, the problem comes to patch [v3 9/12]. When updating max columns len of child_qgroup, i miswrite

Re: [PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-08 Thread David Sterba
On Wed, Oct 09, 2013 at 12:27:23AM +0800, Shilong Wang wrote: Thanks for finding this, the problem comes to patch [v3 9/12]. When updating max columns len of child_qgroup, i miswrite qgroup-member to qgroup-parent, i have updated this patch and send a v4, it can be appiled without conflicts

Re: [PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-08 Thread Shilong Wang
Hi David, 2013/10/8 David Sterba dste...@suse.cz: On Mon, Oct 07, 2013 at 03:21:46PM +0800, Wang Shilong wrote: You can use it like: btrfs qgroup show --block-size=m mnt Here, block size supports k/K/m/M/g/G/t/T/p/P/e/E. There is no distinction between the 1000 and 1024 based

Re: [PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-08 Thread Hugo Mills
On Wed, Oct 09, 2013 at 12:54:03AM +0800, Shilong Wang wrote: Hi David, 2013/10/8 David Sterba dste...@suse.cz: On Mon, Oct 07, 2013 at 03:21:46PM +0800, Wang Shilong wrote: You can use it like: btrfs qgroup show --block-size=m mnt Here, block size supports

Re: [PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-08 Thread Hugo Mills
On Tue, Oct 08, 2013 at 06:01:57PM +0100, Hugo Mills wrote: On Wed, Oct 09, 2013 at 12:54:03AM +0800, Shilong Wang wrote: Hi David, 2013/10/8 David Sterba dste...@suse.cz: On Mon, Oct 07, 2013 at 03:21:46PM +0800, Wang Shilong wrote: You can use it like: btrfs qgroup show

[PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-07 Thread Wang Shilong
You can use it like: btrfs qgroup show --block-size=m mnt Here, block size supports k/K/m/M/g/G/t/T/p/P/e/E. Signed-off-by: Wang Shilong wangsl.f...@cn.fujitsu.com --- cmds-qgroup.c | 16 +--- qgroup.c | 78 ---