search for: do_btrfstune_x

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

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