Re: [PATCH v4] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-22 Thread Fan Chengniang/
在 2015年01月23日 00:24, David Sterba 写道: On Thu, Jan 22, 2015 at 04:11:43PM +0800, Fan Chengniang wrote: v3: - remove --human-readable option - add --raw, --si, --iec, --kbytes, --mbytes, --gbytes, --tbytes options - by default, sizes are shown in human readable format - make columns which show

Re: [PATCH v3] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-18 Thread Fan Chengniang/
在 2015年01月19日 15:31, Wang Shilong 写道: Hello, add --raw, --si, --iec, --kbytes, --mbytes, --gbytes, --tbytes options make columns which show sizes align to right. Others aligned to left. example: qgroupid rfer excl max_rfer max_excl parent child

Re: [PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-15 Thread
在 2015年01月15日 20:30, David Sterba 写道: On Thu, Jan 15, 2015 at 09:17:01AM +0800, Fan Chengniang/樊成酿 wrote: 在 2015年01月14日 23:46, David Sterba 写道: On Tue, Jan 13, 2015 at 01:53:39PM +0800, Fan Chengniang wrote: make btrfs qgroups show human readable sizes using --human-readable option, example

Re: [PATCH v2 RESEND] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-14 Thread Fan Chengniang/
在 2015年01月14日 23:46, David Sterba 写道: On Tue, Jan 13, 2015 at 01:53:39PM +0800, Fan Chengniang wrote: make btrfs qgroups show human readable sizes using --human-readable option, example: That's too long to type and the idea was to add all the long options that force the specific unit base,

Re: [PATCH 1/2] btrfs-progs:btrfstune: choose to ignore error when setting seeding enabled

2015-01-14 Thread Fan Chengniang/
在 2015年01月14日 23:48, David Sterba 写道: On Fri, Jan 09, 2015 at 04:11:41PM +0800, Fan Chengniang wrote: Before with -S option, setting positive value on seeding-enabled btrfs filesystem will cause error. So I add -i option which can ignore it. Why can't we use the existing --force/-f option for

Re: [PATCH] btrfs-progs: make btrfs qgroups show human readable sizes

2015-01-11 Thread Fan Chengniang/
在 2015年01月10日 02:03, David Sterba 写道: On Fri, Jan 09, 2015 at 02:47:05PM +0800, Fan Chengniang wrote: make btrfs qgroups show human readable sizes, using -h option, example: Thanks. Please add all the long options from the 'fi df' subcommands as well. As the subcommand is not entierly space