Displaying 20 results from an estimated 1100 matches similar to: "[PATCH v2 0/3] btrfs: add support to btrfstune"
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(-)
--
2015 May 19
2
libguestfs error: mkfs_btrfs
Hi all :
there is a problem on libguestfs-1.29.40 after command :make check
libguestfs: error: mkfs_btrfs: /dev/vda1: device /dev/vda1 is too small
(must be at least 256 MB)
FAIL: test_btrfs_image_0
3/515 test_btrfstune_enable_skinny_metadata_extent_refs_0
libguestfs: error: btrfstune_enable_skinny_metadata_extent_refs: /dev/vda1:
btrfstune: invalid option -- 'x'
usage: btrfstune
2015 Mar 01
0
Re: [PATCH v2 0/3] btrfs: add support to btrfstune
On Sun, Mar 01, 2015 at 02:20:46AM -0500, Chen Hanxiao wrote:
> 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
>
>
2015 Feb 27
1
Re: [PATCH 4/4] New API: btrfstune_x
On Sat, Feb 21, 2015 at 08:23:21PM +0800, Chen Hanxiao wrote:
> Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
> ---
> daemon/btrfs.c | 24 ++++++++++++++++++++++++
> generator/actions.ml | 15 +++++++++++++++
> src/MAX_PROC_NR | 2 +-
> 3 files changed, 40 insertions(+), 1 deletion(-)
>
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> index
2015 Feb 27
1
Re: [PATCH 3/4] New API: btrfstune_r
On Sat, Feb 21, 2015 at 08:23:20PM +0800, Chen Hanxiao wrote:
> Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
> ---
> daemon/btrfs.c | 24 ++++++++++++++++++++++++
> generator/actions.ml | 15 +++++++++++++++
> src/MAX_PROC_NR | 2 +-
> 3 files changed, 40 insertions(+), 1 deletion(-)
>
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> index
2015 Feb 27
1
Re: [PATCH 2/4] New API: btrfstune_S_disable
On Sat, Feb 21, 2015 at 08:23:19PM +0800, Chen Hanxiao wrote:
> Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
> ---
> daemon/btrfs.c | 26 ++++++++++++++++++++++++++
> generator/actions.ml | 18 ++++++++++++++++++
> src/MAX_PROC_NR | 2 +-
> 3 files changed, 45 insertions(+), 1 deletion(-)
>
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
>
2015 Feb 21
5
[PATCH v2 0/4] btrfs: add support to btrfs inspect-internal
This series adds new APIs to support btrfs inspect-internal.
v2:
- use full name of btrfs command as inspect-internal
Hu Tao (4):
New API: btrfs_inspect_internal_rootid
New API: btrfs_inspect_internal_subvolid_resolve
New API: btrfs_inspect_internal_inode_resolve
New API: btrfs_inspect_internal_logical_resolve
daemon/btrfs.c | 161
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
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:
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 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
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
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:
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
2015 Jan 05
3
Re: [PATCH 5/5] New API: btrfs_filesystem_set_label
In data venerdì 26 dicembre 2014 16:17:49, Hu Tao ha scritto:
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
> daemon/btrfs.c | 33 +++++++++++++++++++++++++++++++++
> generator/actions.ml | 16 ++++++++++++++++
> src/MAX_PROC_NR | 2 +-
> 3 files changed, 50 insertions(+), 1 deletion(-)
>
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> index
2011 Nov 10
5
[PATCH v2] Add tune2fs command.
The changes since the previous patch:
- safe ADD_ARG macro for adding arguments to a fixed size stack array
- support for testing functions that return RHashtable, ie. tune2fs-l.
- add tests that set (tune2fs) and get (tune2fs-l) various parameters.
- only one 'intervalbetweenchecks' parameter (in seconds)
Rich.
2015 Jun 24
10
[PATCH 0/5] uuid: add btrfs uuid change support and some rework
- Btrfs-progs v4.1 introduced new feature of changing
uuid of btrfs partition.
This patch add support of this.
- uuids.c did a lot of deplicated work for changing uuid
of fs. Use existed functions.
-- Introduce new API: btrfstune_set_uuid_random
Chen Hanxiao (5):
uuid: add support to change uuid of btrfs partition
uuid: use existed function of ext2
uuid: use newly introduced
2012 Aug 21
1
[PATCH] xfs: add a new api xfs_repair
Add a new api xfs_repair for repairing an XFS filesystem.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
daemon/xfs.c | 116 +++++++++++++++++++++++++++++++++++++++++
generator/generator_actions.ml | 23 ++++++++
gobject/Makefile.inc | 6 ++-
po/POTFILES | 1 +
src/MAX_PROC_NR | 2 +-
5 files changed, 145
2015 Feb 03
2
[PATCH v2 0/2] add btrfs_balance_status and btrfs_scrub_status
changes in v2:
- add check for the length of lines[]
- the code parsing 'btrfs scrub -R status' output is changed into a loop
Hu Tao (2):
New API: btrfs_balance_status
New API: btfs_scrub_status.
daemon/btrfs.c | 263 +++++++++++++++++++++++++++++++
generator/actions.ml | 26 +++
generator/structs.ml | 34 ++++
2015 Feb 15
4
[PATCH v5 0/2] add btrfs_balance_status and btrfs_scrub_status
v5:
- fix tests failure
v4:
- add reply_with_error when nlines < 1
- remove `i == X' tests.
v3:
- rebase on upstream
- fix some comments
v2:
- add check for the length of lines[]
- the code parsing 'btrfs scrub -R status' output is changed into a loop
Hu Tao (2):
New API: btrfs_balance_status
New API: btfs_scrub_status
daemon/btrfs.c