btrfs: balance root leak and runaway balance fix
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: relocation: Fix reloc root leakage and the NULL pointer reference caused by the leakagefs/ | +10 | 0 replies | |
| 2/2 | btrfs: relocation: Clear the DEAD_RELOC_TREE bit for orphan roots to prevent runaway balancefs/ fs/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] btrfs: balance root leak and runaway balance fix
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(-)
Signature · 1 line
2.26.2