android_kernel_xiaomi_sm8350/fs/jbd2
Theodore Ts'o e6a47428de jbd2: don't wipe the journal on a failed journal checksum
If there is a failed journal checksum, don't reset the journal.  This
allows for userspace programs to decide how to recover from this
situation.  It may be that ignoring the journal checksum failure might
be a better way of recovering the file system.  Once we add per-block
checksums, we can definitely do better.  Until then, a system
administrator can try backing up the file system image (or taking a
snapshot) and and trying to determine experimentally whether ignoring
the checksum failure or aborting the journal replay results in less
data loss.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org
2009-11-15 15:31:37 -05:00
..
checkpoint.c jbd2: Use tracepoints for history file 2009-09-30 00:32:06 -04:00
commit.c jbd2: Use tracepoints for history file 2009-09-30 00:32:06 -04:00
journal.c jbd2: don't wipe the journal on a failed journal checksum 2009-11-15 15:31:37 -05:00
Kconfig
Makefile
recovery.c
revoke.c
transaction.c jbd2: Annotate transaction start also for jbd2_journal_restart() 2009-08-17 21:23:17 -04:00