search for: btrfstune_r

Displaying 3 results from an estimated 3 matches for "btrfstune_r".

Did you mean: btrfstune_x
2015 Feb 27
1
Re: [PATCH 3/4] New API: btrfstune_r
...ertions(+), 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; > + CLEANUP_FREE char *out = NULL; > + int r; > + > + ADD_ARG (argv, i, str_btrfstune); > + ADD_ARG (argv, i, "-r...
2015 Feb 21
0
[PATCH 3/4] New API: btrfstune_r
...+++++ 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; + CLEANUP_FREE char *out = NULL; + int r; + + ADD_ARG (argv, i, str_btrfstune); + ADD_ARG (argv, i, "-r"); + ADD_ARG (argv, i, device); + ADD_ARG...
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(-) -- 2.1.0