Skip to content

Fix relocation lockdep splat

Josef Bacik linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: move lockdep class helpers to locking.*fs/btrfs/disk-io.c fs/btrfs/disk-io.h fs/btrfs/locking.c +1 more+92 -921 reply
2/2btrfs: fix lockdep splat with reloc root extent buffersfs/btrfs/ctree.c fs/btrfs/ctree.h fs/btrfs/extent-tree.c +4 more+53 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJohannes Thumshirn
1/2R-b
2/2

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/2] Fix relocation lockdep splat

Hello,

This fixes the long standing lockdep splat we were getting in btrfs/187. The detailed description of the fix can be found in the changelog in the second patch. The first patch simply moves the lockdep related code into locking.c where it more logically fits in. Thanks,

Josef

Josef Bacik (2):
btrfs: move lockdep class helpers to locking.*
btrfs: fix lockdep splat with reloc root extent buffers

 fs/btrfs/ctree.c       |  3 ++
 fs/btrfs/ctree.h       |  2 +
 fs/btrfs/disk-io.c     | 82 ------------------------------------
 fs/btrfs/disk-io.h     | 10 -----
 fs/btrfs/extent-tree.c | 18 +++++++-
 fs/btrfs/extent_io.c   | 11 ++++-
 fs/btrfs/locking.c     | 95 ++++++++++++++++++++++++++++++++++++++++++
 fs/btrfs/locking.h     | 16 +++++++
 fs/btrfs/relocation.c  |  2 +
 9 files changed, 145 insertions(+), 94 deletions(-)
Signature · 1 line
2.26.3