]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
libext2fs: add bitmap statistics
authorLukas Czerner <lczerner@redhat.com>
Fri, 16 Dec 2011 22:31:07 +0000 (17:31 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 18 Dec 2011 06:12:44 +0000 (01:12 -0500)
commit9288e3be665bb8d5657d7f710687a50fad859acf
tree2ac60ada666d839a468f98eadf58aba1e023928a
parent4a61d17c7c4c09ce3bb5f77bdb9b90eb9f10e8c3
libext2fs: add bitmap statistics

This feature is especially useful for better understanding how e2fsprogs
tools (mainly e2fsck) treats bitmaps and what bitmap backend can be most
suitable for particular bitmap. Backend itself (if implemented) can
provide statistics of its own as well.

[ Changed to provide basic statistics when enabled with the
  E2FSPROGS_BITMAPS_STATS environment variable -- tytso]

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/blkmap64_ba.c
lib/ext2fs/blkmap64_rb.c
lib/ext2fs/bmap64.h
lib/ext2fs/ext2fs.h
lib/ext2fs/gen_bitmap64.c
lib/ext2fs/icount.c