linux/fs/jbd2
Patrick J. LoPresti 1113e1b504 JBD2: Allow feature checks before journal recovery
Before we start accessing a huge (> 16 TiB) OCFS2 volume, we need to
confirm that its journal supports 64-bit offsets.  In particular, we
need to check the journal's feature bits before recovering the journal.

This is not possible with JBD2 at present, because the journal
superblock (where the feature bits reside) is not loaded from disk until
the journal is recovered.

This patch loads the journal superblock in
jbd2_journal_check_used_features() if it has not already been loaded,
allowing us to check the feature bits before journal recovery.

Signed-off-by: Patrick LoPresti <lopresti@gmail.com>
Cc: linux-ext4@vger.kernel.org
Acked-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2010-09-10 08:41:54 -07:00
..
checkpoint.c remove SWRITE* I/O types 2010-08-18 01:09:01 -04:00
commit.c kill BH_Ordered flag 2010-08-18 01:09:00 -04:00
journal.c JBD2: Allow feature checks before journal recovery 2010-09-10 08:41:54 -07:00
Kconfig
Makefile
recovery.c ext4: remove initialized but not read variables 2010-06-14 13:28:03 -04:00
revoke.c remove SWRITE* I/O types 2010-08-18 01:09:01 -04:00
transaction.c ext4: clean up compiler warning in start_this_handle() 2010-08-09 17:28:38 -04:00