[Libguestfs] [PATCH v3 00/11] btrfs support part2: qgroup/quota commands

Hu Tao hutao at cn.fujitsu.com
Fri Dec 12 07:03:22 UTC 2014


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 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):
  daemon: btrfs: add helper functions mount and umount
  New API: btrfs_subvolume_get_default
  New API: btrfs_subvolume_show
  New API: btrfs_quota_enable
  New API: btrfs_quota_rescan
  New API: btrfs_qgroup_limit
  New API: btrfs_qgroup_create
  New API: btrfs_qgroup_destroy
  New API: btrfs_qgroup_show
  New API: btrfs_qgroup_assign
  New API: btrfs_qgroup_remove

 daemon/btrfs.c                           | 666 ++++++++++++++++++++++++++++---
 generator/actions.ml                     | 203 ++++++++++
 generator/structs.ml                     |  10 +
 gobject/Makefile.inc                     |   2 +
 java/Makefile.inc                        |   1 +
 java/com/redhat/et/libguestfs/.gitignore |   1 +
 po/POTFILES                              |   1 +
 src/MAX_PROC_NR                          |   2 +-
 8 files changed, 837 insertions(+), 49 deletions(-)

-- 
1.9.3




More information about the Libguestfs mailing list