Displaying 20 results from an estimated 1000 matches similar to: "[PATCH] New API: btrfs_device_stats"
2015 Jun 17
2
Re: [PATCH] New API: btrfs_device_stats
Hi,
在 2015年06月16日 20:56, Pino Toscano 写道:
> On Tuesday 16 June 2015 17:10:09 Cao jin wrote:
>> Also modified a public function: analyze_line, make it more flexible
>
> The addition of the parameter to analyze_line should be in an own
> patch. Can you please decouple it?
>
OK
>> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
>> ---
>>
2015 Jun 17
3
[PATCH v2 1/2] Modify public function: analyze_line, make it more flexible
Mofify the function from fixed dilemiter to variabler. So,
it could be used in more APIs later. Also modified the existed caller
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
---
daemon/btrfs.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 39392f7..caa28ca 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@
2015 Jun 19
2
[PATCH v2 1/2] Modify the function: analyze_line, make it more flexible
Mofify the function from a fixed delimiter to a variable. So,
it can be used in more APIs later. Also modified the existing
callers
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
---
daemon/btrfs.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 39392f7..caa28ca 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@
2015 Jun 19
3
[PATCH v3 1/2] Modify the function: analyze_line, make it more flexible
Mofify the function from a fixed delimiter to a variable. So,
it can be used in more APIs later. Also modified the existing
callers
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
---
daemon/btrfs.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 39392f7..caa28ca 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@
2015 Jun 16
0
Re: [PATCH] New API: btrfs_device_stats
On Tuesday 16 June 2015 17:10:09 Cao jin wrote:
> Also modified a public function: analyze_line, make it more flexible
The addition of the parameter to analyze_line should be in an own
patch. Can you please decouple it?
> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
> ---
> daemon/btrfs.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++-----
>
2015 Jun 19
0
[PATCH v2 2/2] New API: btrfs_device_stats
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
---
daemon/btrfs.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 10 ++++++++
2 files changed, 81 insertions(+)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index caa28ca..4288fc9 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -2083,3 +2083,74 @@ do_btrfs_image (char *const *sources, const char
2015 Jun 19
0
[PATCH v3 2/2] New API: btrfs_device_stats
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
---
daemon/btrfs.c | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 10 ++++++++
2 files changed, 81 insertions(+)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index caa28ca..4288fc9 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -2083,3 +2083,74 @@ do_btrfs_image (char *const *sources, const char
2013 Aug 16
2
[PATCH] xfstests: update filters and output of btrfs/006
The btrfs-progs tools changed the output:
- 100GiB instead of 100GB
- The number of spaces was changed
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
---
common/filter | 2 +-
common/filter.btrfs | 3 ++-
tests/btrfs/006 | 6 +++---
tests/btrfs/006.out | 36 ++++++++++++++++++------------------
4 files changed, 24 insertions(+), 23 deletions(-)
diff --git
2015 Jul 13
1
[PATCH] daemon: add a space after func name to fit code-style
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
daemon/blkid.c | 2 +-
daemon/btrfs.c | 28 ++++++++++++++--------------
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/daemon/blkid.c b/daemon/blkid.c
index 1ac42b4..74d2fa6 100644
--- a/daemon/blkid.c
+++ b/daemon/blkid.c
@@ -199,7 +199,7 @@ error:
}
static char **
-blkid_without_p_i_opt(const char
2015 Jun 17
0
Re: [PATCH] New API: btrfs_device_stats
Hi,
On Wednesday 17 June 2015 10:12:59 Cao jin wrote:
> >> @@ -2083,3 +2083,72 @@ do_btrfs_image (char *const *sources, const char *image,
> >>
> >> return 0;
> >> }
> >> +
> >> +char **
> >> +do_btrfs_device_stats (const char *path, int zero)
> >> +{
> >> + const size_t MAX_ARGS = 64;
> >> + const
2015 Jun 23
1
[PATCH] Modify the function: analyze_line, make it more flexible
Modify the function from a fixed delimiter to a variable. So,
it can be used in more APIs later. Also modified the existing
callers
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
---
daemon/btrfs.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 8b5779a..afbd6e6 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@
2015 Jun 18
3
Re: [PATCH] New API: btrfs_device_stats
Hi, Pino
在 2015年06月17日 23:37, Pino Toscano 写道:
> Hi,
>
> On Wednesday 17 June 2015 10:12:59 Cao jin wrote:
>>>> @@ -2083,3 +2083,72 @@ do_btrfs_image (char *const *sources, const char *image,
>>>>
>>>> return 0;
>>>> }
>>>> +
>>>> +char **
>>>> +do_btrfs_device_stats (const char *path, int zero)
2014 Nov 26
7
[PATCH v2 0/5] btrfs support part1: subvolume commands
Hi,
This is the part1 of improving btrfs support. This series adds missing
parameters to btrfs_subvolume_snapshot and btrfs_subvolume_create, and
adds two new API btrfs_subvolume_get_default and btrfs_subvolume_show.
Other parts will follow.
Regards,
Hu
changes:
v2:
- add 'once_had_no_optargs = true' for btrfs_subvolume_snapshot and
btrfs_subvolume_create
- improved documents
2014 Dec 02
21
[PATCH 0/8] btrfs support part2: qgroup commands
Hi,
This series adds support to btrfs qgroup related commands, inclduing
quota commands, and two leftover of subvolume commands.
Regards,
Hu
Hu Tao (8):
New API: btrfs_subvolume_get_default
New API: btrfs_subvolume_show
New API: btrfs_quota_enable
New API: btrfs_quota_disable
New API: btrfs_quota_rescan
New API: btrfs_qgroup_limit
New API: btrfs_qgroup_create
New API:
2014 Dec 12
15
[PATCH v3 00/11] btrfs support part2: qgroup/quota commands
Hi,
This is v3 series to add support to btrfs qgroup related commands, inclduing
quota commands, and two leftover of subvolume commands.
Regards,
Hu
changes:
v3:
- don't intialize fs_buf (patch 1)
- check the return value of sysroot_path (patch 1)
- check fs_buf rather than fs (patch 1)
- fprintf (stderr,...) -> reply_with_error()
v2:
- add tests for new APIs
- combine
2014 Dec 11
14
[PATCH v2 00/11] btrfs support part2: qgroup/quota commands
Hi,
This is v2 series to add support to btrfs qgroup related commands, inclduing
quota commands, and two leftover of subvolume commands.
Regards,
Hu
changes:
v2:
- add tests for new APIs
- combine btrfs_quota_enable and btrfs_quota_disable
- following APIs changed to operate on Mountable_or_Path:
btrfs_subvolume_get_default, btrfs_quota_enable, btrfs_quota_rescan.
Hu Tao (11):
2014 Dec 05
1
Re: [PATCH 2/8] New API: btrfs_subvolume_show
On Tue, Dec 02, 2014 at 05:33:32PM +0800, Hu Tao wrote:
> btrfs_subvolume_show shows the detailed information of a subvolume or
> snapshot.
>
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
> daemon/btrfs.c | 185 +++++++++++++++++++++++++++++++++++++++++++++++++++
> generator/actions.ml | 9 +++
> src/MAX_PROC_NR | 2 +-
> 3 files changed,
2014 Nov 21
3
Re: [PATCH 6/6] New API: btrfs_subvolume_show
On Friday 21 November 2014 13:18:00 Hu Tao wrote:
> btrfs_subvolume_show shows the detailed information of a subvolume or
> snapshot.
>
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
> daemon/btrfs.c | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++
> generator/actions.ml | 9 +++
> src/MAX_PROC_NR | 2 +-
> 3 files changed, 177
2014 Nov 24
1
Re: [PATCH 6/6] New API: btrfs_subvolume_show
On Monday 24 November 2014 16:22:53 Hu Tao wrote:
> On Fri, Nov 21, 2014 at 05:17:13PM +0100, Pino Toscano wrote:
> > On Friday 21 November 2014 13:18:00 Hu Tao wrote:
> > > btrfs_subvolume_show shows the detailed information of a subvolume
> > > or
> > > snapshot.
> > >
> > > Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> > >
2015 Jun 17
0
Re: [PATCH v2 1/2] Modify public function: analyze_line, make it more flexible
On Wednesday 17 June 2015 16:44:07 Cao jin wrote:
> Mofify the function from fixed dilemiter to variabler. So,
> it could be used in more APIs later. Also modified the existed caller
Not to sound too overly pedantic on English (especially that I'm not
a native speaker myself), but this needs to be slightly improved:
Modify the function from a fixed delimiter to a variable. So,
it