btrfsck: print some progress
authorChris Mason <chris.mason@oracle.com>
Mon, 6 Feb 2012 10:05:59 +0000 (05:05 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 6 Feb 2012 10:05:59 +0000 (05:05 -0500)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
btrfsck.c

index a56bb4b..747bdd0 100644 (file)
--- a/btrfsck.c
+++ b/btrfsck.c
@@ -2853,13 +2853,16 @@ int main(int ac, char **av)
 
        root = info->fs_root;
 
+       fprintf(stderr, "checking extents\n");
        ret = check_extents(root);
        if (ret)
                goto out;
+       fprintf(stderr, "checking fs roots\n");
        ret = check_fs_roots(root, &root_cache);
        if (ret)
                goto out;
 
+       fprintf(stderr, "checking root refs\n");
        ret = check_root_refs(root, &root_cache);
 out:
        free_root_recs(&root_cache);