The patchset include the following bugfix:
1) Update qgroup status flags to keep consistent with kernel

And the following enhancement:
1) debug-tree: Add human readable qgroup status flag.
2) qgroup show: Check status and print warning before if INCONSISTENT or
RESCANNING(*1)
3) parse_qgroup: Accept path and resolve it into qgroupid.
4) qgroup assign/remove: Auto schedule a rescan if the assign/remove
needs.(*2)

*1: The kernel has a bug that never clear INCONSISTENT flag, so need to
cooperate with the kernel patchset or warning is always output.

*2: Need to cooperate with the kernel patchset to detect such change.

Qu Wenruo (7):
  btrfs-progs: Update qgroup status flags and replace qgroup
    level/subvid     calculation with inline function.
  btrfs-progs: Allow btrfs-debug-tree to print human readable qgroup    
    status flag.
  btrfs-progs: Move parse_qgroupid() to utils.c
  btrfs-progs: Allow parse_qgroupid() to resolve subvolume path into    
    qgroupid.
  btrfs-progs: Add stack get/set functions for btrfs_qgroup_status_item.
  btrfs-progs: Print warning message if qgroup data is inconsistent.
  btrfs-progs: Schedule quota rescan if qgroup assign caused    
    inconsistence.

 cmds-qgroup.c | 26 ++++++++++++++++---
 ctree.h       | 26 ++++++++++++++++---
 print-tree.c  | 38 +++++++++++++++++++--------
 qgroup.c      | 82 +++++++++++++++++++++++++++++------------------------------
 qgroup.h      |  1 -
 utils.c       | 66 +++++++++++++++++++++++++++++++++++++++++++++++
 utils.h       |  1 +
 7 files changed, 179 insertions(+), 61 deletions(-)

-- 
2.3.0

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to