aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2016-09-14 08:51:46 -0700
committerDavid Sterba <[email protected]>2016-09-26 17:59:49 +0200
commit3561b9db70928f207be4570b48fc19898eeaef54 (patch)
treeda7291956ca31e0717a99d2d8471fe42bb19065f /scripts/stackusage
parent9c8e63db1de98c5cc3c6fb32d11b5cf55f228601 (diff)
Btrfs: return gracefully from balance if fs tree is corrupted
When relocating tree blocks, we firstly get block information from back references in the extent tree, we then search fs tree to try to find all parents of a block. However, if fs tree is corrupted, eg. if there're some missing items, we could come across these WARN_ONs and BUG_ONs. This makes us print some error messages and return gracefully from balance. Signed-off-by: Liu Bo <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions