Displaying 20 results from an estimated 1000 matches similar to: "[PATCH 0/4] btrfs: add support to btrfstune"
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 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 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 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
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 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):
 
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 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 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
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:
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 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
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 Jan 07
2
Re: [PATCH 2/5] New API: btrfs_check
In data venerdì 26 dicembre 2014 16:17:46, Hu Tao ha scritto:
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
>  daemon/btrfs.c       | 24 ++++++++++++++++++++++++
>  generator/actions.ml | 14 ++++++++++++++
>  src/MAX_PROC_NR      |  2 +-
>  3 files changed, 39 insertions(+), 1 deletion(-)
> 
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> index
2015 Jan 13
1
Re: [PATCH 4/5] New API: add btrfs_filesystem_defragment
On Friday 26 December 2014 16:17:48 Hu Tao wrote:
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
>  daemon/btrfs.c       | 32 ++++++++++++++++++++++++++++++++
>  generator/actions.ml | 20 ++++++++++++++++++++
>  src/MAX_PROC_NR      |  2 +-
>  3 files changed, 53 insertions(+), 1 deletion(-)
> 
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> index
2015 Jan 05
2
Re: [PATCH 3/5] New API: btrfs_filesystem_get_label
In data venerdì 26 dicembre 2014 16:17:47, Hu Tao ha scritto:
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
>  daemon/btrfs.c       | 32 ++++++++++++++++++++++++++++++++
>  generator/actions.ml | 15 +++++++++++++++
>  src/MAX_PROC_NR      |  2 +-
>  3 files changed, 48 insertions(+), 1 deletion(-)
> 
> diff --git a/daemon/btrfs.c b/daemon/btrfs.c
> index
2014 Nov 21
2
Re: [PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
On Friday 21 November 2014 13:17:58 Hu Tao wrote:
> Parameter `qgroupid' is for adding the created subvolume to a qgroup.
> 
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
>  daemon/btrfs.c       | 10 +++++++++-
>  generator/actions.ml | 15 ++++++++-------
>  2 files changed, 17 insertions(+), 8 deletions(-)
> 
> diff --git a/daemon/btrfs.c
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