similar to: [PATCH RFC] New API: btrfs_convert

Displaying 20 results from an estimated 300 matches similar to: "[PATCH RFC] New API: btrfs_convert"

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
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
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 05
0
Re: [PATCH RFC][Resend] New API: btrfs_convert
Hi, In data venerdì 5 giugno 2015 13:47:12, Pino ha scritto: > 在 2015年06月05日 00:37, Pino Toscano 写道: > > 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
2015 Jun 08
1
Re: [PATCH RFC][Resend] New API: btrfs_convert
Hi 在 2015年06月05日 22:38, Pino Toscano 写道: > Hi, > > In data venerdì 5 giugno 2015 13:47:12, Pino ha scritto: >> 在 2015年06月05日 00:37, Pino Toscano 写道: >>> 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
2013 Feb 20
2
btrfs doesn't report proper error when removing subvolume
Hi. petrb@bots-bnr1:/mnt$ btrfs subvolume delete ext2_saved/ Delete subvolume ''/mnt/ext2_saved'' ERROR: cannot delete ''/mnt/ext2_saved'' this is not really very descriptive. It would be really cool if it told me why it can''t delete it. For example: Permission denied. Cannot delete ... Disk write error. Cannot delete Descriptive error messages
2015 May 26
0
Help: how to change default disk size when doing test
Hi Rich, I am developing a patch for btrfs enhancement: btrfs-convert. When I do test, run: make check tests, in dir libguestfs/tests/c-api, I got these error: 0/516 test_btrfs_convert_0 libguestfs: error: btrfs_convert: /dev/sda1: block size is too small conversion aborted. FAIL: test_btrfs_convert_0 I also ran "btrfs-convert" command to deal
2014 Nov 12
0
btrfs balance fails with no space errors (despite having plenty)
Hi all, Yesterday I converted my ext4 root and home partitions on my home machine to btrfs using btrfs-convert. After confirming that everything went well, I followed the wiki instructions to nuke the 'ext2_saved" subvolume, then defraggad and rebalanced. Everything went according to plan on my root partition, but my home partition claimed to have run out of space when rebalancing. I
2008 Jan 07
1
[PATCH]Add rollback support for the converter
Hello, This patch adds rollback support for the converter, the converter can roll back a conversion if the image file haven't been modified. In addition, I rearrange some codes in convert.c and add a few comments. Regards YZ --- diff -r 12138d4beeb0 convert.c --- a/convert.c Fri Jan 04 11:29:55 2008 -0500 +++ b/convert.c Mon Jan 07 23:35:25 2008 +0800 @@ -33,6 +33,7 @@ #include
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
guestfsd calls many different tools. Keeping track of all of them is error prone. This patch introduces a new helper macro to put the command string into its own ELF section: GUESTFSD_EXT_CMD(C_variable, command_name); This syntax makes it still possible to grep for used command names. The actual usage of the collected list could be like this: objcopy -j .guestfsd_ext_cmds -O binary
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",
2012 Sep 03
1
[PATCH] daemon: provide list of checksum commands
While adding the list of external commands I missed the various checksum tools. Signed-off-by: Olaf Hering <olaf at aepfle.de> --- WARNING: not compile tested ... diff --git a/daemon/checksum.c b/daemon/checksum.c index f2e040d..f16a7c0 100644 --- a/daemon/checksum.c +++ b/daemon/checksum.c @@ -31,24 +31,31 @@ GUESTFSD_EXT_CMD(str_find, find); GUESTFSD_EXT_CMD(str_xargs, xargs);
2015 Jul 08
0
[PATCH 2/5] labels: move e2label to ext2.c and call it locally
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- daemon/daemon.h | 1 + daemon/ext2.c | 29 +++++++++++++++++++++++------ daemon/labels.c | 24 +----------------------- 3 files changed, 25 insertions(+), 29 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index 783d739..0731b09 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -224,6 +224,7 @@ extern int
2014 Jan 19
1
[PATCH] daemon: add missing GUESTFSD_EXT_CMD usage
Signed-off-by: Olaf Hering <olaf@aepfle.de> --- Not even compile tested, against 1.24 branch. daemon/btrfs.c | 2 +- daemon/command.c | 3 ++- daemon/debug.c | 3 ++- daemon/ldm.c | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 0b877f8..a0c1542 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -597,7 +597,7 @@
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 Jun 26
0
[PATCH v3.1 7/9] New API: swap_set_uuid_random
Also introduce get_random_uuid() Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- daemon/daemon.h | 2 ++ daemon/swap.c | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/daemon/daemon.h b/daemon/daemon.h index 9c8476c..6c07c6a 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -278,6 +278,8 @@ extern char *ntfs_get_label (const char
2015 Jun 30
0
[PATCH v4 4/7] uuid: use newly introduced swap_set_uuid
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- v3: move swapuuid to swap.c rename it as swap_set_uuid daemon/daemon.h | 3 +++ daemon/swap.c | 16 ++++++++++++++++ daemon/uuids.c | 18 +----------------- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/daemon/daemon.h b/daemon/daemon.h index cbe8ada..d8a5e0b 100644 --- a/daemon/daemon.h +++
2015 Jul 08
0
[PATCH 1/5] labels: move btrfslabel to btrfs.c
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- daemon/btrfs.c | 16 ++++++++++++++++ daemon/daemon.h | 1 + daemon/labels.c | 19 +------------------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 8fcfd81..ee3464d 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -70,6 +70,22 @@ btrfs_get_label (const char *device)
2015 Mar 24
1
[PATCH v3] New API: btrfs-image
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- v3: remove optional paramter numthreads(-t) v2: add optargs_bitmask check daemon/btrfs.c | 43 +++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 22 ++++++++++++++++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 66 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index