e2fsprogs/e2fsck
Theodore Ts'o 830b44f438 e2fsck: use different bitmap types as appropriate
Now that we have multiple backend implementations of the bitmap code,
this commit teaches e2fsck to use either the most appropriate backend
for each use case.

Since we don't know for sure if we will get it all right, the default
choices can be overridden via e2fsck.conf.  The various definitions
are shown here, with the current defaults (which may change as we add
more bitmap implementations and as learn what works better).

; EXT2FS_BAMP64_BITARRAY is 1
; EXT2FS_BMAP64_RBTREE is 2
; EXT2FS_BMAP64_AUTODIR is 3
[bitmaps]
	inode_used_map = 2	; pass1
	inode_dir_map = 3	; pass1
	inode_reg_map = 2	; pass1
	block_found_map = 2	; pass1
	inode_bad_map = 2	; pass1
	inode_imagic_map = 2	; pass1
	block_dup_map = 2	; pass1
	block_ea_map = 2	; pass1
	inode_link_info = 2	; pass1
	inode_dup_map = 2	; pass1b
	inode_done_map = 3	; pass3
	inode_loop_detect = 3	; pass3
	fs_bitmaps = 2

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-12-18 01:12:44 -05:00
..
CHANGES Many files: 1997-04-26 13:21:57 +00:00
Makefile.in Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
argv_parse.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
argv_parse.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
badblocks.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
crc32.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
crc32defs.h Only use __builtin_expect if __GNUC__ > 3 2008-07-13 16:06:56 -04:00
dict.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
dict.h Fixx gcc -Wall nitpicks. 2003-07-06 00:36:48 -04:00
dirinfo.c e2fsck: speed up runs when using tdb for large atypical filesystems 2011-11-29 11:24:52 -05:00
dx_dirinfo.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
e2fsck.8.in e2fsck.8: fix spelling mistake in man page 2011-09-20 13:21:28 -04:00
e2fsck.c ext2fs: add multi-mount protection (INCOMPAT_MMP) 2011-09-25 01:55:23 -04:00
e2fsck.conf.5.in e2fsprogs: man page typo fixes 2011-03-18 15:03:15 -04:00
e2fsck.h e2fsck: use different bitmap types as appropriate 2011-12-18 01:12:44 -05:00
ea_refcount.c e2fsck: simplify binary search in ea_refcount.c 2011-09-30 16:38:26 -04:00
ehandler.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
emptydir.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
extend.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
flushb.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
gen_crc32table.c Fix gcc -Wall warnings in e2fsck 2008-06-07 11:04:10 -04:00
iscan.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
jfs_user.h e2fsck: recover revoke blocks on 64bit filesystems correctly 2011-10-08 13:37:08 -04:00
journal.c ext2fs: add multi-mount protection (INCOMPAT_MMP) 2011-09-25 01:55:23 -04:00
message.c libext2fs: ext2fs_[set_]file_acl_block needs to check for 64-bit feature flag 2011-10-16 20:46:49 -04:00
mtrace.awk Many files: 1997-04-26 13:21:57 +00:00
mtrace.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
mtrace.h ChangeLog, super.c: 2001-01-12 21:05:57 +00:00
pass1.c e2fsck: use different bitmap types as appropriate 2011-12-18 01:12:44 -05:00
pass1b.c e2fsck: use different bitmap types as appropriate 2011-12-18 01:12:44 -05:00
pass2.c e2fsck: use different bitmap types as appropriate 2011-12-18 01:12:44 -05:00
pass3.c e2fsck: use different bitmap types as appropriate 2011-12-18 01:12:44 -05:00
pass4.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
pass5.c e2fsck: fix pass5 bug when using two different bitmap backends 2011-12-18 01:12:44 -05:00
problem.c e2fsck: fix problem message for PR_1_QUOTA_BAD_MODE 2011-10-09 15:13:34 -04:00
problem.h e2fsck: check for invalid bad block inode 2011-09-28 18:34:33 -04:00
problemP.h e2fsck: Add the ability to force a problem to not be fixed 2010-12-06 10:10:33 -05:00
prof_err.et Fix more spelling errors found by translators and add pluralization 2011-10-09 17:54:23 -04:00
profile.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
profile.h mke2fs: Allow specifying reserved_ratio via mke2fs.conf 2011-05-14 23:34:48 -04:00
profile_helpers.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
profile_helpers.h Simplify profile core functionality 2006-01-02 22:04:41 -05:00
quota.c libquota: remove use of PATH_MAX and replace it with QUOTA_NAME_LEN 2011-11-27 22:40:24 -05:00
recovery.c e2fsck: recover revoke blocks on 64bit filesystems correctly 2011-10-08 13:37:08 -04:00
region.c misc: quiet minor compiler errors 2011-09-24 13:00:24 -04:00
rehash.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
revoke.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
scantest.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
sigcatcher.c e2fsck: make e2fsck sigcatcher use SIGCHLD rather than SIGCLD 2011-10-05 14:47:09 -04:00
super.c libext2fs: ext2fs_[set_]file_acl_block needs to check for 64-bit feature flag 2011-10-16 20:46:49 -04:00
unix.c e2fsck: use different bitmap types as appropriate 2011-12-18 01:12:44 -05:00
util.c e2fsck: use different bitmap types as appropriate 2011-12-18 01:12:44 -05:00