e2fsprogs/e2fsck
Theodore Ts'o 47c1b8e166 e2fsck: Skip journal checks if the fs is mounted and doesn't need recovery
If we are checking a mounted filesystem (typically the root
filesystem, mounted read/only) and the NEEDS_RECOVERY flag is not set,
skip all of the checks associated with making sure the journal is
consistent.  There is the very slight possibility we could lose if the
NEEDS_RECOVERY flag was somehow cleared even though there was data in
the journal, but this has practically never happend in practice, and
it reduces the number of reads required at boot-time, which is a big
deal when trying to reduce boot times with HDD's.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-28 09:09:44 -04:00
..
CHANGES Many files: 1997-04-26 13:21:57 +00:00
Makefile.in e2fsck: Fix build of e2fsck.profiled if profiling is enabled 2008-11-15 12:12:57 -05:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
argv_parse.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
argv_parse.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
badblocks.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
crc32.c Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
crc32defs.h Only use __builtin_expect if __GNUC__ > 3 2008-07-13 16:06:56 -04:00
dict.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
dict.h Fixx gcc -Wall nitpicks. 2003-07-06 00:36:48 -04:00
dirinfo.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
dx_dirinfo.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
e2fsck.8.in Fix spelling mistake in e2fsck man page 2008-10-01 20:27:41 -04:00
e2fsck.c e2fsck: When repacking directories, leave slack space for more efficiency 2008-12-25 17:59:36 -05:00
e2fsck.conf.5.in e2fsck: When repacking directories, leave slack space for more efficiency 2008-12-25 17:59:36 -05:00
e2fsck.conf.ubuntu Add Ubuntu-specific e2fsck.conf file to work around Ubuntu issues 2007-12-05 21:01:22 -05:00
e2fsck.h e2fsck: Don't test the resize_inode if the filesystem is clean 2009-04-23 00:39:06 -04:00
ea_refcount.c Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
ehandler.c e2fsck: exit from preenhalt if IO errors were encountered 2008-10-12 23:12:22 -04:00
emptydir.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
extend.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
flushb.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
gen_crc32table.c Fix gcc -Wall warnings in e2fsck 2008-06-07 11:04:10 -04:00
iscan.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
jfs_user.h e2fsck: Fix journal replay for block sizes greater than 8k 2009-01-02 18:14:42 -05:00
journal.c e2fsck: Fix journal replay for block sizes greater than 8k 2009-01-02 18:14:42 -05:00
message.c Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
mtrace.awk Many files: 1997-04-26 13:21:57 +00:00
mtrace.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
mtrace.h ChangeLog, super.c: 2001-01-12 21:05:57 +00:00
pass1.c e2fsck: On a 32-bit filesystem, make sure i_file_acl_high is zero 2009-04-23 21:31:16 -04:00
pass1b.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
pass2.c e2fsck: On a 32-bit filesystem, make sure i_file_acl_high is zero 2009-04-23 21:31:16 -04:00
pass3.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
pass4.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
pass5.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
problem.c e2fsck: On a 32-bit filesystem, make sure i_file_acl_high is zero 2009-04-23 21:31:16 -04:00
problem.h e2fsck: On a 32-bit filesystem, make sure i_file_acl_high is zero 2009-04-23 21:31:16 -04:00
problemP.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
prof_err.et Add the profile library code to e2fsck 2005-12-30 23:57:32 -05:00
profile.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
profile.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
profile_helpers.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
profile_helpers.h Simplify profile core functionality 2006-01-02 22:04:41 -05:00
recovery.c Fix gcc -Wall warnings in e2fsck 2008-06-07 11:04:10 -04:00
region.c Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
rehash.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
revoke.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
scantest.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
super.c e2fsck: Reduce unnecessary I/O when checking backup superblock 2009-04-23 01:27:07 -04:00
unix.c e2fsck: Skip journal checks if the fs is mounted and doesn't need recovery 2009-04-28 09:09:44 -04:00
util.c e2fsck: Fix warn_unused_result warnings from gcc 2009-04-22 15:09:41 -04:00