From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/2] btrfs: balance root leak and runaway balance fix
Date: Wed, 20 May 2020 14:58:49 +0800 [thread overview]
Message-ID: <20200520065851.12689-1-wqu@suse.com> (raw)
This patchset will fix the most wanted balance bug, runaway balance.
All my fault, and all small fixes.
The first patch fixes the root leakage and NULL pointer dereference
caused by it.
The second patch will fix the runaway balance and add alerting system to
prevent such problem from happening again.
The runaway fix depends on the root leakage fix, thus they are sent in a
patchset.
The first patch is just resent without any modification.
For backport to older kernels, the first patch needs small modification
to use atomic_t other than refcount_t.
Qu Wenruo (2):
btrfs: relocation: Fix reloc root leakage and the NULL pointer
reference caused by the leakage
btrfs: relocation: Clear the DEAD_RELOC_TREE bit for orphan roots to
prevent runaway balance
fs/btrfs/disk-io.c | 1 +
fs/btrfs/relocation.c | 15 ++++++++++++---
2 files changed, 13 insertions(+), 3 deletions(-)
--
2.26.2
next reply other threads:[~2020-05-20 6:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-20 6:58 Qu Wenruo [this message]
2020-05-20 6:58 ` [PATCH 1/2] btrfs: relocation: Fix reloc root leakage and the NULL pointer reference caused by the leakage Qu Wenruo
2020-05-20 6:58 ` [PATCH 2/2] btrfs: relocation: Clear the DEAD_RELOC_TREE bit for orphan roots to prevent runaway balance Qu Wenruo
2020-05-22 11:13 ` [PATCH 0/2] btrfs: balance root leak and runaway balance fix David Sterba
2020-07-23 21:54 ` Zygo Blaxell
2020-07-24 0:05 ` Qu Wenruo
2020-07-24 9:33 ` 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=20200520065851.12689-1-wqu@suse.com \
--to=wqu@suse.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.