mbox series

[0/2] Fix relocation lockdep splat

Message ID cover.1658866962.git.josef@toxicpanda.com (mailing list archive)
Headers show
Series Fix relocation lockdep splat | expand

Message

Josef Bacik July 26, 2022, 8:24 p.m. UTC
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(-)

Comments

David Sterba Aug. 2, 2022, 5:10 p.m. UTC | #1
On Tue, Jul 26, 2022 at 04:24:02PM -0400, Josef Bacik wrote:
> 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,

Added to misc-next, thanks.