Skip to content

Lockdep fixes for misc-next

Josef Bacik linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: drop the path before adding qgroup items when enabling qgroupsfs/btrfs/qgroup.c+16 -02 replies
2/3btrfs: protect the fs_info->caching_block_groups differentlyfs/btrfs/block-group.c fs/btrfs/extent-tree.c+8 -65 replies
3/3btrfs: add a helper to read the tree_root commit root for backref lookupfs/btrfs/backref.c fs/btrfs/disk-io.c fs/btrfs/disk-io.h+74 -221 reply

Reviews trailers per patch

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

PatchFilipe Manana
1/3R-b
2/3R-b
3/3R-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/3] Lockdep fixes for misc-next

Hello,

Here's a few lockdep fixes for misc-next+my rwsem patch. Nothing too crazy, but the last one is a little wonkey because qgroups does a backref resolution while adding delayed refs. Generally we do the right thing with searching the commit roots and skipping the locking, with the exception of looking up fs roots if we have to resolve indirect refs. This obviously uses the normal lookup and locking stuff, which is problematic in the new world order. For now I'm fixing it with a special helper for backref lookups that either finds the root in cache, or generates a temporary root that's not inserted into the fs roots radix tree and is only used to do the backref resolution. Thanks,

Josef

Josef Bacik (3):
btrfs: drop the path before adding qgroup items when enabling qgroups
btrfs: protect the fs_info->caching_block_groups differently
btrfs: add a helper to read the tree_root commit root for backref
lookup

 fs/btrfs/backref.c     | 14 +++++++-
 fs/btrfs/block-group.c | 12 +++----
 fs/btrfs/disk-io.c     | 79 +++++++++++++++++++++++++++++++-----------
 fs/btrfs/disk-io.h     |  3 ++
 fs/btrfs/extent-tree.c |  2 ++
 fs/btrfs/qgroup.c      | 16 +++++++++
 6 files changed, 98 insertions(+), 28 deletions(-)
Signature · 1 line
2.26.2