btrfs-progs: fsck: Continue check even if we find space cache problem
PATCH 1/1 btrfs-progs: fsck: Continue check even if we find space cache problem
Space cache itself is not a fatal part of btrfs (especially for v1 space cache), and if we find something wrong it can be caused by other more serious problem.
So continue to check more important trees even we found something wrong in free space cache.
Signed-off-by Qu Wenruo <[email protected]>
--- cmds-check.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
cmds-check.c +4 -1
@@ -15000,7 +15000,10 @@ int cmd_check(int argc, char **argv)error ("errors found in free space tree" ); else error("errors found in free space cache"); - goto out; +/* +* Space cache problem is not fatal, and normally indicates more +* serious problem, so continue check to expose the cause. +*/ }/*
Signature · 1 line
2.15.1