Displaying 20 results from an estimated 107 matches for "initpartit".
2016 Jan 27
2
[PATCH 1/2] generator: add TestRunOrUnsupported test type
Create a new TestRunOrUnsupported test type, which represents a test
sequence where a failure with ENOTSUP in the last command only marks the
test as skipped. To be used mainly when testing features available only
with some versions of helper tools used in the appliance, for example.
---
generator/tests_c_api.ml | 26 ++++++++++++++++++++++++--
generator/types.ml | 5 +++++
2016 Dec 14
1
[PATCH] tests: drop expected-failing btrfs_subvolume_show test
...a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12545,10 +12545,6 @@ Get the default subvolume or snapshot of a filesystem mounted at C<mountpoint>."
proc_nr = Some 426;
optional = Some "btrfs"; camel_name = "BTRFSSubvolumeShow";
tests = [
- InitPartition, Always, TestLastFail (
- [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""];
- ["mount"; "/dev/sda1"; "/"];
- ["...
2014 Dec 11
14
[PATCH v2 00/11] btrfs support part2: qgroup/quota commands
Hi,
This is v2 series to add support to btrfs qgroup related commands, inclduing
quota commands, and two leftover of subvolume commands.
Regards,
Hu
changes:
v2:
- add tests for new APIs
- combine btrfs_quota_enable and btrfs_quota_disable
- following APIs changed to operate on Mountable_or_Path:
btrfs_subvolume_get_default, btrfs_quota_enable, btrfs_quota_rescan.
Hu Tao (11):
2014 Dec 26
10
[PATCH 0/5] btrfs: add API for btrfs filesystem, check and scrub
Hi,
There is one problem: btrfs_filesystem_set_label just doesnt work,
giving error message:
libguestfs: error: btrfs_filesystem_set_label: /: ERROR: unable to set label Bad address
I'm almost sure the patch has no problem, but can't figure out what's
the cause. So patch 5 is only for review.
Other APIs have no problem.
Regards,
Hu
Hu Tao (5):
New API: btrfs_scrub
New API:
2014 Dec 12
15
[PATCH v3 00/11] btrfs support part2: qgroup/quota commands
Hi,
This is v3 series to add support to btrfs qgroup related commands, inclduing
quota commands, and two leftover of subvolume commands.
Regards,
Hu
changes:
v3:
- don't intialize fs_buf (patch 1)
- check the return value of sysroot_path (patch 1)
- check fs_buf rather than fs (patch 1)
- fprintf (stderr,...) -> reply_with_error()
v2:
- add tests for new APIs
- combine
2015 Jan 13
1
Re: [PATCH 4/5] New API: add btrfs_filesystem_defragment
...> + { defaults with
> + name = "btrfs_filesystem_defragment";
> + style = RErr, [Pathname "path"], [];
> + proc_nr = Some 438;
> + optional = Some "btrfs"; camel_name = "BTRFSFilesystemDefragment";
> + tests = [
> + InitPartition, Always, TestRun (
> + [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""];
> + ["mount"; "/dev/sda1"; "/"];
> +...
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(-)
--
2016 Jan 27
0
[PATCH 2/2] actions: mark btrfs test case of vfs_minimum_size as TestRunOrUnsupported
...2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generator/actions.ml b/generator/actions.ml
index 14902e7..0d227cf 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12765,7 +12765,7 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." };
InitPartition, IfAvailable "ntfsprogs", TestRun(
[["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"];
["vfs_minimum_size"; "/dev/sda1"]]), [];
- InitPartition, IfAvail...
2015 Jan 05
3
Re: [PATCH 5/5] New API: btrfs_filesystem_set_label
...th
> + name = "btrfs_filesystem_set_label";
> + style = RErr, [Pathname "path"; String "label"], [];
> + proc_nr = Some 439;
> + optional = Some "btrfs"; camel_name = "BTRFSFilesystemSetLabel";
> + tests = [
> + InitPartition, Always, TestResultString (
> + [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""];
> + ["mount"; "/dev/sda1"; "/"];
>...
2015 Jan 05
2
Re: [PATCH 3/5] New API: btrfs_filesystem_get_label
...ts with
> + name = "btrfs_filesystem_get_label";
> + style = RString "label", [Pathname "path"], [];
> + proc_nr = Some 437;
> + optional = Some "btrfs"; camel_name = "BTRFSFilesystemGetLabel";
> + tests = [
> + InitPartition, Always, TestResultString (
> + [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "label"; "NOARG"; ""; ""];
> + ["mount"; "/dev/sda1"; "/"];
>...
2015 Oct 27
1
[PATCHv3] Added btrfs support to vfs_minimum_size.
...; filesystems",
vfs_type);
diff --git a/generator/actions.ml b/generator/actions.ml
index 62176ab..8832410 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12761,6 +12761,10 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." };
InitPartition, IfAvailable "ntfsprogs", TestRun(
[["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"];
["vfs_minimum_size"; "/dev/sda1"]]), [];
+ InitPartition, Always,...
2015 Oct 22
2
[PATCH] Added btrfs support for vfs_min_size.
...; filesystems",
vfs_type);
diff --git a/generator/actions.ml b/generator/actions.ml
index 62176ab..8832410 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -12761,6 +12761,10 @@ To read the UUID on a filesystem, call C<guestfs_vfs_uuid>." };
InitPartition, IfAvailable "ntfsprogs", TestRun(
[["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG"];
["vfs_minimum_size"; "/dev/sda1"]]), [];
+ InitPartition, Always,...
2015 Jan 13
3
[PATCH] mkfs: add 'label' optional argument
...t;/dev/sda1"; "/"];
["write"; "/new"; "new file contents"];
["cat"; "/new"]], "new file contents"), []
@@ -9761,7 +9765,7 @@ device." };
optional = Some "ntfs3g";
tests = [
InitPartition, Always, TestRun (
- [["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""];
+ [["mkfs"; "ntfs"; "/dev/sda1"; ""; "NOARG"; ""; ""; "NOARG&qu...
2014 Nov 21
0
[PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
...;/dir/test5"; "true"; "NOARG"];
["btrfs_subvolume_snapshot"; "/dir/test3"; "/dir/test6"; ""; "0/1000"]]), []
];
@@ -10246,7 +10246,7 @@ of the snapshot, in the form C</path/to/dest/name>." };
InitPartition, Always, TestRun (
[["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""];
["mount"; "/dev/sda1"; "/"];
- ["btrfs...
2014 Dec 11
0
[PATCH v2 02/11] New API: btrfs_subvolume_get_default
...d." };
+ { defaults with
+ name = "btrfs_subvolume_get_default";
+ style = RInt64 "id", [Mountable_or_Path "fs"], [];
+ proc_nr = Some 425;
+ optional = Some "btrfs"; camel_name = "BTRFSSubvolumeGetDefault";
+ tests = [
+ InitPartition, Always, TestResult (
+ [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""];
+ ["btrfs_subvolume_get_default"; "/dev/sda1"]], "ret &...
2015 Jan 07
1
Re: [PATCH 3/5] New API: btrfs_filesystem_get_label
...t_label";
> > > + style = RString "label", [Pathname "path"], [];
> > > + proc_nr = Some 437;
> > > + optional = Some "btrfs"; camel_name = "BTRFSFilesystemGetLabel";
> > > + tests = [
> > > + InitPartition, Always, TestResultString (
> > > + [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "label"; "NOARG"; ""; ""];
> > > + ["mount"; "/dev/sda1";...
2014 Dec 26
0
[PATCH 4/5] New API: add btrfs_filesystem_defragment
...s filesystem's label." };
+ { defaults with
+ name = "btrfs_filesystem_defragment";
+ style = RErr, [Pathname "path"], [];
+ proc_nr = Some 438;
+ optional = Some "btrfs"; camel_name = "BTRFSFilesystemDefragment";
+ tests = [
+ InitPartition, Always, TestRun (
+ [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""];
+ ["mount"; "/dev/sda1"; "/"];
+ ["btrfs...
2015 Mar 01
5
[PATCH v2 0/3] btrfs: add support to btrfstune
This series adds new APIs to support btrfstune.
v2:
- merge btrfstune_S_[enable|disable] together
- fix naming issue
Chen Hanxiao (3):
New API: btrfstune_seeding
New API: btrfstune_enable_extended_inode_refs
New API: btrfstune_enable_skinny_metadata_extent_refs
daemon/btrfs.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 47
2015 Jan 16
18
[PATCH 00/16] btrfs: add support to btrfs scrub, balance, rescue and inspect
Hi,
This series adds new APIs to support btrfs scrub, balance, rescue
and inspect.
Some of them don't have tests because:
- btrfs_scrub and btrfs_balance completes too early before we can
test btrfs_scrub_cancel, btrfs_scrub_resume, btrfs_scrub_status,
btrfs_balance_pause, btrfs_balance_cancel, btrfs_balance_resume
and btrfs_balance_status.
- can't
2014 Nov 21
2
Re: [PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
...quot;true"; "NOARG"];
> ["btrfs_subvolume_snapshot"; "/dir/test3"; "/dir/test6"; ""; "0/1000"]]), []
> ];
> @@ -10246,7 +10246,7 @@ of the snapshot, in the form C</path/to/dest/name>." };
> InitPartition, Always, TestRun (
> [["mkfs_btrfs"; "/dev/sda1"; ""; ""; "NOARG"; ""; "NOARG"; "NOARG"; ""; ""];
> ["mount"; "/dev/sda1"; "/"];
> -...