search for: ea2f1f1

Displaying 5 results from an estimated 5 matches for "ea2f1f1".

2015 Feb 21
7
[PATCH 0/4] btrfs: add support to btrfstune
This series adds new APIs to support btrfstune. Chen Hanxiao (4): New API: btrfstune_S_enable New API: btrfstune_S_disable New API: btrfstune_r New API: btrfstune_x daemon/btrfs.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 64 +++++++++++++++++++++++++++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 164 insertions(+), 1 deletion(-) --
2015 Feb 27
1
Re: [PATCH 4/4] New API: btrfstune_x
...enhanxiao@cn.fujitsu.com> > --- > daemon/btrfs.c | 24 ++++++++++++++++++++++++ > generator/actions.ml | 15 +++++++++++++++ > src/MAX_PROC_NR | 2 +- > 3 files changed, 40 insertions(+), 1 deletion(-) > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > index ea2f1f1..cccac9a 100644 > --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -2165,3 +2165,27 @@ do_btrfstune_r (const char *device) > > return 0; > } > + > +int > +do_btrfstune_x (const char *device) > +{ > + const size_t MAX_ARGS = 64; > + const char *argv[MAX_AR...
2015 Feb 27
1
Re: [PATCH 3/4] New API: btrfstune_r
...@cn.fujitsu.com> > --- > daemon/btrfs.c | 24 ++++++++++++++++++++++++ > generator/actions.ml | 15 +++++++++++++++ > src/MAX_PROC_NR | 2 +- > 3 files changed, 40 insertions(+), 1 deletion(-) > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > index a129e2e..ea2f1f1 100644 > --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -2141,3 +2141,27 @@ do_btrfstune_S_disable (const char *device) > > return 0; > } > + > +int > +do_btrfstune_r (const char *device) > +{ > + const size_t MAX_ARGS = 64; > + const char *argv[MAX_ARG...
2015 Feb 21
0
[PATCH 3/4] New API: btrfstune_r
...ned-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- daemon/btrfs.c | 24 ++++++++++++++++++++++++ generator/actions.ml | 15 +++++++++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index a129e2e..ea2f1f1 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2141,3 +2141,27 @@ do_btrfstune_S_disable (const char *device) return 0; } + +int +do_btrfstune_r (const char *device) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + CL...
2015 Feb 21
0
[PATCH 4/4] New API: btrfstune_x
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- daemon/btrfs.c | 24 ++++++++++++++++++++++++ generator/actions.ml | 15 +++++++++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index ea2f1f1..cccac9a 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2165,3 +2165,27 @@ do_btrfstune_r (const char *device) return 0; } + +int +do_btrfstune_x (const char *device) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + C...