dedupe: improve wording in output
authorJens Axboe <axboe@fb.com>
Tue, 23 Sep 2014 20:29:21 +0000 (14:29 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 23 Sep 2014 20:29:21 +0000 (14:29 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
t/dedupe.c

index cf4158836f68e1f3e16e85bb42960fc42a9c211f..03c5032bcf8d79e83f7ab99ceca89d0a621291d7 100644 (file)
@@ -382,12 +382,12 @@ static void iter_rb_tree(void)
 
        } while ((n = rb_next(n)) != NULL);
 
-       printf("Chunks=%lu, Extents=%lu\n", nchunks, nextents);
+       printf("Extents=%lu, Unique extents=%lu\n", nextents, nchunks);
        printf("De-dupe factor: %3.2f\n", (double) nextents / (double) nchunks);
 
        perc = 1.00 - ((double) nchunks / (double) nextents);
        perc *= 100.0;
-       printf("dedupe_percentage=%u\n", (int) (perc + 0.50));
+       printf("Fio setting: dedupe_percentage=%u\n", (int) (perc + 0.50));
 }
 
 static int usage(char *argv[])