Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/4] btrfs-progs: cmds/qgroup: enhance stale qgroups handling
@ 2024-05-09  9:12 Qu Wenruo
  2024-05-09  9:12 ` [PATCH 1/4] btrfs-progs: cmds/qgroup: sync the fs before doing qgroup search Qu Wenruo
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Qu Wenruo @ 2024-05-09  9:12 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-17 16:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09  9:12 [PATCH 0/4] btrfs-progs: cmds/qgroup: enhance stale qgroups handling Qu Wenruo
2024-05-09  9:12 ` [PATCH 1/4] btrfs-progs: cmds/qgroup: sync the fs before doing qgroup search Qu Wenruo
2024-05-09  9:12 ` [PATCH 2/4] btrfs-progs: cmds/qgroup: add qgroup_lookup::flags member Qu Wenruo
2024-05-09  9:12 ` [PATCH 3/4] btrfs-progs: cmds/qgroup: handle stale qgroup deleteion more accurately Qu Wenruo
2024-05-09  9:12 ` [PATCH 4/4] btrfs-progs: cmds/qgroup: add more special status for qgroups Qu Wenruo
2024-05-17 16:15 ` [PATCH 0/4] btrfs-progs: cmds/qgroup: enhance stale qgroups handling David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox