Skip to content

btrfs: some qgroup fixes and cleanups

[email protected] linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 3 repliesIn review
  2. v16 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6btrfs: qgroup: fix swapped blocks existence check when tracing after COWfs/btrfs/ctree.h fs/btrfs/qgroup.c+2 -21 reply
2/6btrfs: qgroup: abort transaction on failure to add qgroup relationfs/btrfs/qgroup.c+5 -10 replies
3/6btrfs: qgroup: fix leak of qgroups in rb tree after failure to enable quotasfs/btrfs/qgroup.c+7 -21 reply
4/6btrfs: qgroup: merge error labels in btrfs_quota_enable()fs/btrfs/qgroup.c+17 -190 replies
5/6btrfs: abort transaction on qgroup failures in create_pending_snapshot()fs/btrfs/transaction.c+11 -40 replies
6/6btrfs: qgroup: fix off-by-one max level check in qgroup_trace_new_subtree_blocks()fs/btrfs/qgroup.c+2 -21 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchQu Wenruo
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] btrfs: some qgroup fixes and cleanups

From: Filipe Manana <[email protected]>

Fix a few a bugs related to qgroups and some cleanups.

V2: Updated a comment in patch 1/6.
Added reviewed-by tags to reviewed patches.

Filipe Manana (6):
btrfs: qgroup: fix swapped blocks existence check when tracing after COW
btrfs: qgroup: abort transaction on failure to add qgroup relation
btrfs: qgroup: fix leak of qgroups in rb tree after failure to enable quotas
btrfs: qgroup: merge error labels in btrfs_quota_enable()
btrfs: abort transaction on qgroup failures in create_pending_snapshot()
btrfs: qgroup: fix off-by-one max level check in qgroup_trace_new_subtree_blocks()

 fs/btrfs/ctree.h       |  2 +-
 fs/btrfs/qgroup.c      | 55 ++++++++++++++++++++++++------------------
 fs/btrfs/transaction.c | 15 +++++++++---
 3 files changed, 43 insertions(+), 29 deletions(-)
Signature · 1 line
2.47.2