search for: btrfs_subvolume_create

Displaying 20 results from an estimated 38 matches for "btrfs_subvolume_create".

2014 Nov 21
2
Re: [PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
...files changed, 17 insertions(+), 8 deletions(-) > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > index a20afca..0f525fa 100644 > --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -291,7 +291,7 @@ do_btrfs_subvolume_delete (const char *subvolume) > } > > int > -do_btrfs_subvolume_create (const char *dest) > +do_btrfs_subvolume_create (const char *dest, const char *qgroupid) > { > const size_t MAX_ARGS = 64; > const char *argv[MAX_ARGS]; > @@ -309,6 +309,14 @@ do_btrfs_subvolume_create (const char *dest) > ADD_ARG (argv, i, str_btrfs); > ADD_ARG (a...
2014 Nov 24
1
Re: [PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
...trfs.c b/daemon/btrfs.c > > > index a20afca..0f525fa 100644 > > > --- a/daemon/btrfs.c > > > +++ b/daemon/btrfs.c > > > @@ -291,7 +291,7 @@ do_btrfs_subvolume_delete (const char *subvolume) > > > } > > > > > > int > > > -do_btrfs_subvolume_create (const char *dest) > > > +do_btrfs_subvolume_create (const char *dest, const char *qgroupid) > > > { > > > const size_t MAX_ARGS = 64; > > > const char *argv[MAX_ARGS]; > > > @@ -309,6 +309,14 @@ do_btrfs_subvolume_create (const char *dest) > &...
2014 Nov 21
0
[PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
...++- generator/actions.ml | 15 ++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index a20afca..0f525fa 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -291,7 +291,7 @@ do_btrfs_subvolume_delete (const char *subvolume) } int -do_btrfs_subvolume_create (const char *dest) +do_btrfs_subvolume_create (const char *dest, const char *qgroupid) { const size_t MAX_ARGS = 64; const char *argv[MAX_ARGS]; @@ -309,6 +309,14 @@ do_btrfs_subvolume_create (const char *dest) ADD_ARG (argv, i, str_btrfs); ADD_ARG (argv, i, "subvolume");...
2014 Nov 24
0
Re: [PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
...t; > > > diff --git a/daemon/btrfs.c b/daemon/btrfs.c > > index a20afca..0f525fa 100644 > > --- a/daemon/btrfs.c > > +++ b/daemon/btrfs.c > > @@ -291,7 +291,7 @@ do_btrfs_subvolume_delete (const char *subvolume) > > } > > > > int > > -do_btrfs_subvolume_create (const char *dest) > > +do_btrfs_subvolume_create (const char *dest, const char *qgroupid) > > { > > const size_t MAX_ARGS = 64; > > const char *argv[MAX_ARGS]; > > @@ -309,6 +309,14 @@ do_btrfs_subvolume_create (const char *dest) > > ADD_ARG (argv, i,...
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 for btrfs_subvolume_snapshot and btrfs...
2014 Nov 21
13
[PATCH 0/6] 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 Hu Tao (6): btrfs: correct words about subvolume and snapshot btrfs: add optional parameter `ro' to btrfs_subvolume_snapshot btrfs: add optional parameter `qgroupid' to...
2014 Nov 21
2
Re: [PATCH 1/6] btrfs: correct words about subvolume and snapshot
On Friday 21 November 2014 13:17:55 Hu Tao wrote: > btrfs_subvolume_create creates only subvolumes. btrfs_subvolume_delete > deletes subvolumes or snapshots. > > Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> > --- > generator/actions.ml | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/generator/actions.ml b/g...
2014 Nov 21
1
Re: [PATCH 2/6] btrfs: add optional parameter `ro' to btrfs_subvolume_snapshot
...ot;; Pathname "dest"], [OBool "ro"]; > proc_nr = Some 322; > optional = Some "btrfs"; camel_name = "BTRFSSubvolumeSnapshot"; > tests = [ > @@ -10228,7 +10228,7 @@ See C<guestfs_get_e2generation>." }; > ["btrfs_subvolume_create"; "/test1"]; > ["btrfs_subvolume_create"; "/test2"]; > ["btrfs_subvolume_create"; "/dir/test3"]; > - ["btrfs_subvolume_snapshot"; "/dir/test3"; "/dir/test4"]]), [] > +...
2014 Nov 27
5
[PATCH 0/4] fix bad commit ids referenced in commit messages
Hi, This series fix two bad commit ids referenced in commit messages, by first reverting the two commits and then re-applying them with correct commit ids referenced. No big problem, but for clarity. Hu Tao (4): Revert "Update gobject/Makefile.inc and POTFILES" Revert "Update gobject/Makefile.inc and POTFILES" Update gobject/Makefile.inc and POTFILES Update
2014 Nov 26
0
Re: [PATCH v2 0/5] btrfs support part1: subvolume commands
On Wednesday 26 November 2014 17:04:03 Hu Tao wrote: > 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 > - i...
2018 Nov 14
0
[PATCH v2] test-data: Allow tests to be run when Btrfs is not available.
...mbr'); + $g->part_add ('/dev/sda', 'p', 64, 524287); + $g->part_add ('/dev/sda', 'p', 524288, -64); - $g->mkfs_btrfs (['/dev/sda2'], label => 'ROOT'); - $g->mount ('/dev/sda2', '/'); - $g->btrfs_subvolume_create ('/root'); - $g->btrfs_subvolume_create ('/home'); - $g->umount ('/'); + $g->mkfs_btrfs (['/dev/sda2'], label => 'ROOT'); + $g->mount ('/dev/sda2', '/'); + $g->btrfs_subvolume_create ('/root'...
2018 Nov 14
2
[PATCH v2] test-data: Allow tests to be run when Btrfs is not available.
v2: - Moved the btrfs available test into the subclause where it is used. Note I got tired of fighting emacs indentation mode and I pushed a whitespace only patch which fixes the indentation to be 4 spaces instead of 2 spaces: https://github.com/libguestfs/libguestfs/commit/df54c75d4c53ed580e5269306e11e0758d169452 This v2 patch requires that one. Rich.
2014 Nov 21
0
[PATCH 1/6] btrfs: correct words about subvolume and snapshot
btrfs_subvolume_create creates only subvolumes. btrfs_subvolume_delete deletes subvolumes or snapshots. Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> --- generator/actions.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generator/actions.ml b/generator/actions.ml index 89332f5..fe492...
2014 Nov 21
0
[PATCH 2/6] btrfs: add optional parameter `ro' to btrfs_subvolume_snapshot
...[Pathname "source"; Pathname "dest"], [OBool "ro"]; proc_nr = Some 322; optional = Some "btrfs"; camel_name = "BTRFSSubvolumeSnapshot"; tests = [ @@ -10228,7 +10228,7 @@ See C<guestfs_get_e2generation>." }; ["btrfs_subvolume_create"; "/test1"]; ["btrfs_subvolume_create"; "/test2"]; ["btrfs_subvolume_create"; "/dir/test3"]; - ["btrfs_subvolume_snapshot"; "/dir/test3"; "/dir/test4"]]), [] + ["btrfs_subvo...
2014 Nov 21
0
[PATCH 3/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_snapshot
...Pathname "dest"], [OBool "ro"; OString "qgroupid"]; proc_nr = Some 322; optional = Some "btrfs"; camel_name = "BTRFSSubvolumeSnapshot"; tests = [ @@ -10228,7 +10228,8 @@ See C<guestfs_get_e2generation>." }; ["btrfs_subvolume_create"; "/test1"]; ["btrfs_subvolume_create"; "/test2"]; ["btrfs_subvolume_create"; "/dir/test3"]; - ["btrfs_subvolume_snapshot"; "/dir/test3"; "/dir/test5"; "true"]]), [] +...
2014 Nov 24
0
Re: [PATCH 1/6] btrfs: correct words about subvolume and snapshot
On Fri, Nov 21, 2014 at 11:35:11AM +0100, Pino Toscano wrote: > On Friday 21 November 2014 13:17:55 Hu Tao wrote: > > btrfs_subvolume_create creates only subvolumes. btrfs_subvolume_delete > > deletes subvolumes or snapshots. > > > > Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> > > --- > > generator/actions.ml | 8 ++++---- > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > &g...
2020 Jul 07
1
Re: [PATCH] python: Add type hints
Notice that I have added the closing bracket and return type hint into the indentation function as a hack to line wrap correctly when the return type hint is causing > 79 chars per line: So that instead of: def btrfs_subvolume_create(self, dest: str, qgroupid: Optional[str] = None) -> None: We correctly get: def btrfs_subvolume_create(self, dest: str, qgroupid: Optional[str] = None) -> None: Since the indent function looks for a comma to wrap - this works nicely. However there is thi...
2013 Sep 09
3
libguestfs on PPC64
[Note I'm not bothering with 32 bit ppc any more since it is effectively obsolete.] Libguestfs now works on ppc64 using the 'direct' backend. You will need: - libguestfs 1.23.21 + 7f90aa0998 - supermin 4.1.x (only tested with supermin-4.1.5-2.fc21.ppc64, but earlier versions should work) - qemu-system-ppc64 compiled from git (qemu 1.4 & 1.6 known to be broken) -
2020 Jul 06
2
[PATCH] python: Add type hints
Since support for python2 is dropped we can use the new python3 syntax for type hints. Signed-off-by: Sam Eiderman <sameid@google.com> --- generator/python.ml | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/generator/python.ml b/generator/python.ml index f0d6b5d96..3640ee39a 100644 --- a/generator/python.ml +++
2014 Dec 10
2
[PATCH v1 0/2] Implement guestfs_add_libvirt_dom.
This is only lightly tested at the moment. For context see: https://bugzilla.redhat.com/show_bug.cgi?id=1138203#c40 https://bugzilla.redhat.com/show_bug.cgi?id=1075143 https://bugzilla.redhat.com/show_bug.cgi?id=1075164 Note this is not a complete fix. At least one more libguestfs patch is required (to implement virDomainPtr in the python bindings). Plus a virt-manager patch. Rich.