Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5726f1
)
e2freefrag: Display the total number of free extents
author
Theodore Ts'o
<tytso@mit.edu>
Mon, 5 Jul 2010 18:51:47 +0000
(14:51 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 5 Jul 2010 18:51:47 +0000
(14:51 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/e2freefrag.c
patch
|
blob
|
history
diff --git
a/misc/e2freefrag.c
b/misc/e2freefrag.c
index
a4ab994
..
e0b0696
100644
(file)
--- a/
misc/e2freefrag.c
+++ b/
misc/e2freefrag.c
@@
-177,6
+177,7
@@
errcode_t get_chunk_info(ext2_filsys fs, struct chunk_info *info)
printf("\nMin. free extent: %lu KB \nMax. free extent: %lu KB\n"
"Avg. free extent: %lu KB\n", info->min, info->max, info->avg);
+ printf("Num. free extent: %lu\n", info->real_free_chunks);
printf("\nHISTOGRAM OF FREE EXTENT SIZES:\n");
printf("%s : %12s %12s %7s\n", "Extent Size Range", "Free extents",