All of lore.kernel.org
 help / color / mirror / Atom feed
From: fdmanana@kernel.org
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs: fix extent state leaks after device replace
Date: Wed, 26 Apr 2023 18:12:59 +0100	[thread overview]
Message-ID: <cover.1682528751.git.fdmanana@suse.com> (raw)

From: Filipe Manana <fdmanana@suse.com>

This fixes a recent regression (on its way to Linus' tree) that results in
leaking extent state records in the allocation io tree of a device used as
a source device for a device replace. Also unexport btrfs_free_device().

Filipe Manana (2):
  btrfs: fix leak of source device allocation state after device replace
  btrfs: make btrfs_free_device() static

 fs/btrfs/volumes.c | 3 ++-
 fs/btrfs/volumes.h | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.35.1


             reply	other threads:[~2023-04-26 17:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-26 17:12 fdmanana [this message]
2023-04-26 17:13 ` [PATCH 1/2] btrfs: fix leak of source device allocation state after device replace fdmanana
2023-04-27  3:15   ` Qu Wenruo
2023-04-27 15:16   ` Anand Jain
2023-04-27 16:34     ` Filipe Manana
2023-04-27 23:39       ` Anand Jain
2023-04-26 17:13 ` [PATCH 2/2] btrfs: make btrfs_free_device() static fdmanana
2023-04-27 11:31   ` Qu Wenruo
2023-04-27 15:17   ` Anand Jain
2023-04-27 22:52 ` [PATCH 0/2] btrfs: fix extent state leaks after device replace David Sterba
2023-04-27 23:51   ` Anand Jain
2023-04-28 13:07     ` 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.1682528751.git.fdmanana@suse.com \
    --to=fdmanana@kernel.org \
    --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.