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