Displaying 20 results from an estimated 500 matches similar to: "[PATCH v3] New API: btrfs-image"
2015 Mar 03
0
[PATCH 1/2] New API: btrfs-image
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
daemon/btrfs.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 23 +++++++++++++++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 73 insertions(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index d4b3207..be648bc 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@
2015 Mar 17
2
[PATCH v2] New API: btrfs-image
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
v2: add optargs_bitmask check
daemon/btrfs.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 22 ++++++++++++++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 75 insertions(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index d4b3207..340b548 100644
---
2015 Mar 05
1
Re: [PATCH 1/2] New API: btrfs-image
On Tue, Mar 03, 2015 at 03:48:02AM -0500, Chen Hanxiao wrote:
> Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
> + if (compresslevel >= 0) {
> + snprintf (compresslevel_s, sizeof compresslevel_s, "%d", compresslevel);
> + ADD_ARG (argv, i, "-c");
> + ADD_ARG (argv, i, compresslevel_s);
> + }
Because compresslevel is an optional
2015 Mar 03
4
[PATCH 0/2] btrfs: add support to btrfs-image
This series adds new APIs to support btrfstune.
Chen Hanxiao (2):
New API: btrfs-image
New API: btrfs_image_restore
daemon/btrfs.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 45 +++++++++++++++++++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 133 insertions(+), 1 deletion(-)
--
2.1.0
2015 Mar 03
0
[PATCH 2/2] New API: btrfs_image_restore
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
daemon/btrfs.c | 38 ++++++++++++++++++++++++++++++++++++++
generator/actions.ml | 22 ++++++++++++++++++++++
src/MAX_PROC_NR | 2 +-
3 files changed, 61 insertions(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index be648bc..e036880 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -2054,3 +2054,41
2017 Jun 19
0
[PATCH v7 13/13] daemon: Link guestfsd with libutils.
After the previous refactoring, we are able to link the daemon to
common/utils, and also remove some of the "duplicate" functions that
the daemon carried ("duplicate" in quotes because they were often not
exact duplicates).
Also this removes the duplicate reimplementation of (most) cleanup
functions in the daemon, since those are provided by libutils now.
It also allows us in
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
Because of previous automated commits, such as changing 'guestfs___'
-> 'guestfs_int_', several function calls no longer lined up with
their parameters, and some lines were too long.
The bulk of this commit was done using emacs batch mode and the
technique described here:
http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html
The changes suggested by emacs were
2016 Jan 25
1
[PATCH] actions: expand partitions for btrfs_image test
Apparently with newer btrfs-progs (seen with 4.4) 100M are not enough
for a btrfs filesystem; hence double the size of the partitions
created in the test of btrfs_image, so now 200M are enough for btrfs.
---
generator/actions.ml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/generator/actions.ml b/generator/actions.ml
index 75d3fc5..9ea5736 100644
---
2015 Feb 17
1
[PATCH] builder: when not checking sigs, ignore --fingerprint args (RHBZ#1193237)
When the user chooses to not verify the signatures on the indexes
(using --no-check-signature), there is no point in requiring as many
--fingerprint as --source (or even just one), as they will not be used
anyway.
In this case just ignore all the values of the specified --fingerprint
arguments.
---
builder/cmdline.ml | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
2015 May 27
0
[PATCH RFC] New API: btrfs_convert
Signed-off-by: Pino <caoj.fnst@cn.fujitsu.com>
---
daemon/btrfs.c | 29 +++++++++++++++++++++++++++++
generator/actions.ml | 18 ++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 39392f7..7f10792 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -38,6 +38,7 @@ GUESTFSD_EXT_CMD(str_btrfsck, btrfsck);
2015 Jun 04
0
Re: [PATCH RFC][Resend] New API: btrfs_convert
Hi,
In data giovedì 4 giugno 2015 11:56:41, Pino Tsao ha scritto:
> Disable the test case temporarily for 2 reasons:
> 1. Because the default test disk size is 500M, while btrfs
> convert command think it is too small to convert it(actually,
> just add 10M or 20M more is enough).
If the base test disks that are available in tests/c-api/tests are
not enough, just write
2010 Apr 03
1
[PATCH] btrfs support
Hi,
As I use btrfs as root FS, I wanted fstype to be able to recognize it.
The following patch add support for this FS.
Regards,
benjamin
Signed-off-by: Benjamin Cama <benoar at free.fr>
---
diff --git a/usr/kinit/fstype/btrfs_fs.h b/usr/kinit/fstype/btrfs_fs.h
new file mode 100644
index 0000000..e1f933e
--- /dev/null
+++ b/usr/kinit/fstype/btrfs_fs.h
@@ -0,0 +1,51 @@
+#ifndef
2015 Mar 16
1
[PATCH v2] btrfs-qgroup-show: add check for "--raw"
btrfs-prog commit:
58a39524619f38d193b8adc3d57888ec07b612aa
change the default output to binary prefix,
and introduced a new option '--raw'
to keep the traditional behaviour.
This patch will add a check function to determine
whether to add '--raw' option to 'btrfs show qgroup'.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
daemon/btrfs.c | 35
2015 Jun 05
2
Re: [PATCH RFC][Resend] New API: btrfs_convert
Hi Toscano
在 2015年06月05日 00:37, Pino Toscano 写道:
> Hi,
>
> In data giovedì 4 giugno 2015 11:56:41, Pino Tsao ha scritto:
>> Disable the test case temporarily for 2 reasons:
>> 1. Because the default test disk size is 500M, while btrfs
>> convert command think it is too small to convert it(actually,
>> just add 10M or 20M more is enough).
>
2015 Jun 04
3
[PATCH RFC][Resend] New API: btrfs_convert
Disable the test case temporarily for 2 reasons:
1. Because the default test disk size is 500M, while btrfs convert command think it is too small to convert it(actually, just add 10M or 20M more is enough).
2. Btrfs-progs has may have a tiny bug, when execute the command in guestfish, it report some error, but convert the filesystem to btrfs successfully.
Signed-off-by: Pino Tsao
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
GUESTFSD_EXT_CMD was used by OpenSUSE to track which external commands
are run by the daemon and package those commands into the appliance.
It is no longer used by recent SUSE builds, so remove it.
Thanks: Pino Toscano, Olaf Hering.
---
daemon/9p.c | 3 +-
daemon/available.c | 7 +--
daemon/base64.c | 6 +--
daemon/blkid.c | 10 ++---
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
GUESTFSD_EXT_CMD is used by OpenSUSE to track which external commands
are run by the daemon and package those commands into the appliance.
However because this uses linker trickery it won't work from OCaml
code.
Replace it with a [nearly] standard C mechanism. Files still have to
declare the external commands they will use, eg:
DECLARE_EXTERNAL_COMMANDS ("btrfs",
2014 Feb 24
0
[PATCH] fstype: f2fs support
This patch adds support for the F2FS filesystem to fstype.
Signed-off-by: Marc Dietrich <marvin24 at gmx.de>
---
usr/kinit/fstype/f2fs_fs.h | 44 ++++++++++++++++++++++++++++++++++++++++++++
usr/kinit/fstype/fstype.c | 14 ++++++++++++++
2 files changed, 58 insertions(+)
create mode 100644 usr/kinit/fstype/f2fs_fs.h
diff --git a/usr/kinit/fstype/f2fs_fs.h b/usr/kinit/fstype/f2fs_fs.h
2007 Jul 13
0
Dconf trouble
Hi,
since upgrade Centos 4.4 to 4.5 we are sometimes getting these error
from Dconf.
Thanks,
David Hrb??
/etc/cron.weekly/dconf:
Traceback (most recent call last):
File "/etc/cron.weekly/dconf", line 481, in ?
main()
File "/etc/cron.weekly/dconf", line 450, in main
mail('changes to %s' % os.uname()[1],
diff(os.path.realpath(previouslog),
2017 Jul 14
0
[PATCH 09/27] daemon: Reimplement ‘mount’, ‘mount_ro’, ‘mount_options’, ‘mount_vfs’ APIs in OCaml.
Some of the oldest and most core APIs, reimplemented.
This also moves the strange ‘mount_vfs_nochroot’ function into
btrfs.c.
---
daemon/Makefile.am | 2 +
daemon/btrfs.c | 43 ++++++++++++++++++++
daemon/daemon.h | 6 ---
daemon/mount.c | 99 -----------------------------------------------
daemon/mount.ml | 62 +++++++++++++++++++++++++++++