Displaying 5 results from an estimated 5 matches for "471cfbd".
2014 Dec 05
1
Re: [PATCH 2/8] New API: btrfs_subvolume_show
...u.com>
> ---
> daemon/btrfs.c | 185 +++++++++++++++++++++++++++++++++++++++++++++++++++
> generator/actions.ml | 9 +++
> src/MAX_PROC_NR | 2 +-
> 3 files changed, 195 insertions(+), 1 deletion(-)
>
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> index 471cfbd..2cfb364 100644
> --- a/daemon/btrfs.c
> +++ b/daemon/btrfs.c
> @@ -24,11 +24,13 @@
> #include <pcre.h>
> #include <string.h>
> #include <unistd.h>
> +#include <assert.h>
>
> #include "daemon.h"
> #include "actions.h"...
2014 Dec 02
0
[PATCH 1/8] New API: btrfs_subvolume_get_default
...Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
daemon/btrfs.c | 38 ++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 9 +++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 48 insertions(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 754fdcd..471cfbd 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -545,6 +545,44 @@ do_btrfs_subvolume_set_default (int64_t id, const char *fs)
return 0;
}
+int64_t
+do_btrfs_subvolume_get_default (const char *mountpoint)
+{
+ const size_t MAX_ARGS = 64;
+ const char *argv[MAX_ARGS];
+ size_t i = 0;
+...
2014 Dec 02
0
[PATCH 2/8] New API: btrfs_subvolume_show
...igned-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
daemon/btrfs.c | 185 +++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 9 +++
src/MAX_PROC_NR | 2 +-
3 files changed, 195 insertions(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 471cfbd..2cfb364 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -24,11 +24,13 @@
#include <pcre.h>
#include <string.h>
#include <unistd.h>
+#include <assert.h>
#include "daemon.h"
#include "actions.h"
#include "optgroups.h"
#include "...
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: