Displaying 10 results from an estimated 10 matches for "btrfs_qgroup_assign".
2014 Dec 05
0
[PATCH 10/11] New API: btrfs_qgroup_assign
btrfs_qgroup_assign adds a qgroup to a parent qgroup.
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
daemon/btrfs.c | 33 +++++++++++++++++++++++++++++++++
generator/actions.ml | 10 ++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 44 insertions(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b...
2014 Dec 12
15
[PATCH v3 00/11] btrfs support part2: qgroup/quota commands
...d helper functions mount and umount
New API: btrfs_subvolume_get_default
New API: btrfs_subvolume_show
New API: btrfs_quota_enable
New API: btrfs_quota_rescan
New API: btrfs_qgroup_limit
New API: btrfs_qgroup_create
New API: btrfs_qgroup_destroy
New API: btrfs_qgroup_show
New API: btrfs_qgroup_assign
New API: btrfs_qgroup_remove
daemon/btrfs.c | 666 ++++++++++++++++++++++++++++---
generator/actions.ml | 203 ++++++++++
generator/structs.ml | 10 +
gobject/Makefile.inc | 2 +
java/Makefile.inc...
2014 Dec 11
0
[PATCH v2 11/11] New API: btrfs_qgroup_remove
...++++++++++++++++++++++++++++
generator/actions.ml | 19 +++++++++++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 54 insertions(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 2ba5296..40bc34d 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -1306,3 +1306,37 @@ do_btrfs_qgroup_assign (const char *src, const char *dst, const char *path)
return 0;
}
+
+int
+do_btrfs_qgroup_remove (const char *src, const char *dst, const char *path)
+{
+ const size_t MAX_ARGS = 64;
+ const char *argv[MAX_ARGS];
+ size_t i = 0;
+ CLEANUP_FREE char *path_buf = NULL;
+ CLEANUP_FREE char *e...
2014 Dec 11
14
[PATCH v2 00/11] btrfs support part2: qgroup/quota commands
...d helper functions mount and umount
New API: btrfs_subvolume_get_default
New API: btrfs_subvolume_show
New API: btrfs_quota_enable
New API: btrfs_quota_rescan
New API: btrfs_qgroup_limit
New API: btrfs_qgroup_create
New API: btrfs_qgroup_destroy
New API: btrfs_qgroup_show
New API: btrfs_qgroup_assign
New API: btrfs_qgroup_remove
daemon/btrfs.c | 664 ++++++++++++++++++++++++++++---
generator/actions.ml | 203 ++++++++++
generator/structs.ml | 10 +
gobject/Makefile.inc | 2 +
java/Makefile.inc...
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:
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in:
https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html
Rich.
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files.
Rich.
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...InitPartition, Always, TestRun (
[["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""];
@@ -9101,7 +9101,7 @@ usages." };
{ defaults with
name = "btrfs_qgroup_assign"; added = (1, 29, 17);
- style = RErr, [String "src"; String "dst"; Pathname "path"], [];
+ style = RErr, [String (PlainString, "src"); String (PlainString, "dst"); String (Pathname, "path")], [];
optional = Some "btrf...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator.
Rich.
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of
local disk.
Rich.