Message ID | 20180115042722.25435-1-wqu@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/cmds-check.c b/cmds-check.c index 7fc30da83ea1..6083ac0dd032 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -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. + */ } /*
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 <wqu@suse.com> --- cmds-check.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)