Skip to content

Abort cleanup fixes

Josef Bacik linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7btrfs: make btrfs_destroy_delayed_refs use btrfs_delayed_ref_lockfs/btrfs/disk-io.c+2 -90 replies
2/7btrfs: make btrfs_destroy_delayed_refs use btrfs_delete_ref_headfs/btrfs/disk-io.c+1 -60 replies
3/7btrfs: handle delayed ref head accounting cleanup in abortfs/btrfs/ctree.h fs/btrfs/disk-io.c fs/btrfs/extent-tree.c+12 -70 replies
4/7btrfs: call btrfs_create_pending_block_groups unconditionallyfs/btrfs/extent-tree.c fs/btrfs/transaction.c+3 -60 replies
5/7btrfs: just delete pending bgs if we are abortedfs/btrfs/extent-tree.c+7 -15 replies
6/7btrfs: cleanup pending bgs on transaction abortfs/btrfs/transaction.c+4 -00 replies
7/7btrfs: wait on ordered extents on abort cleanupfs/btrfs/disk-io.c+8 -00 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchNikolay BorisovOmar Sandoval
1/7R-b
2/7R-b
3/7
4/7R-b
5/7R-b
6/7R-b
7/7R-b

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

Read the v1 thread

Cover letter [PATCH 0/7] Abort cleanup fixes

A new xfstests that really hammers on transaction aborts (generic/495 I think?) uncovered a lot of random issues. Some of these were introduced with the new delayed refs rsv patches, others were just exposed by them, such as the pending bg stuff. With these patches in place I stopped getting all the random leftovers and WARN_ON()'s when running whichever xfstest that was and things are much smoother now. Thanks,

Josef