All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <josef@toxicpanda.com>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH 0/2] Fix relocation lockdep splat
Date: Tue, 26 Jul 2022 16:24:02 -0400	[thread overview]
Message-ID: <cover.1658866962.git.josef@toxicpanda.com> (raw)

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(-)

-- 
2.26.3


             reply	other threads:[~2022-07-26 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26 20:24 Josef Bacik [this message]
2022-07-26 20:24 ` [PATCH 1/2] btrfs: move lockdep class helpers to locking.* Josef Bacik
2022-07-27  6:47   ` Johannes Thumshirn
2022-07-26 20:24 ` [PATCH 2/2] btrfs: fix lockdep splat with reloc root extent buffers Josef Bacik
2022-08-02 17:10 ` [PATCH 0/2] Fix relocation lockdep splat David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1658866962.git.josef@toxicpanda.com \
    --to=josef@toxicpanda.com \
    --cc=kernel-team@fb.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.