Skip to content

btrfs-progs: cmds/qgroup: enhance stale qgroups handling

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs-progs: cmds/qgroup: sync the fs before doing qgroup searchcmds/qgroup.c+6 -00 replies
2/4btrfs-progs: cmds/qgroup: add qgroup_lookup::flags membercmds/qgroup.c+3 -00 replies
3/4btrfs-progs: cmds/qgroup: handle stale qgroup deleteion more accuratelycmds/qgroup.c+103 -160 replies
4/4btrfs-progs: cmds/qgroup: add more special status for qgroupsDocumentation/btrfs-qgroup.rst cmds/qgroup.c+50 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] btrfs-progs: cmds/qgroup: enhance stale qgroups handling

Currently the <stale> label is give incorrectly for a lot of qgroups that can not and should not be deleted.

The patchset would address the problem for btrfs qgroup show and btrfs qgroup clear-stale commands, so that:

- clear-stale would not try to delete incorrect qgroups Thus it should not return false errors.

- show would show extra types of qgroups Including <under deletion> and <squota space holder>

Qu Wenruo (4):
btrfs-progs: cmds/qgroup: sync the fs before doing qgroup search
btrfs-progs: cmds/qgroup: add qgroup_lookup::flags member
btrfs-progs: cmds/qgroup: handle stale qgroup deleteion more
accurately
btrfs-progs: cmds/qgroup: add more special status for qgroups

 Documentation/btrfs-qgroup.rst |  24 +++++
 cmds/qgroup.c                  | 160 ++++++++++++++++++++++++++++-----
 2 files changed, 162 insertions(+), 22 deletions(-)

--
2.45.0