kernel_optimize_test/fs/ext4
Hidehiro Kawai 5bf5683a33 ext4: add an option to control error handling on file data
If the journal doesn't abort when it gets an IO error in file data
blocks, the file data corruption will spread silently.  Because
most of applications and commands do buffered writes without fsync(),
they don't notice the IO error.  It's scary for mission critical
systems.  On the other hand, if the journal aborts whenever it gets
an IO error in file data blocks, the system will easily become
inoperable.  So this patch introduces a filesystem option to
determine whether it aborts the journal or just call printk() when
it gets an IO error in file data.

If you mount an ext4 fs with data_err=abort option, it aborts on file
data write error.  If you mount it with data_err=ignore, it doesn't
abort, just call printk().  data_err=ignore is the default.

Here is the corresponding patch of the ext3 version:
http://kerneltrap.org/mailarchive/linux-kernel/2008/9/9/3239374

Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2008-10-10 22:12:43 -04:00
..
acl.c [PATCH] sanitize ->permission() prototype 2008-07-26 20:53:14 -04:00
acl.h ext4: Rename ext4dev to ext4 2008-10-10 20:02:48 -04:00
balloc.c ext4: fix initialization of UNINIT bitmap blocks 2008-10-10 08:09:18 -04:00
bitmap.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
dir.c ext4: Avoid printk floods in the face of directory corruption 2008-10-09 11:15:52 -04:00
ext4_extents.h Hook ext4 to the vfs fiemap interface. 2008-10-07 00:46:36 -04:00
ext4_i.h ext4: Rename ext4dev to ext4 2008-10-10 20:02:48 -04:00
ext4_jbd2.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
ext4_jbd2.h ext4: journal credits calulation cleanup and fix for non-extent writepage 2008-08-19 22:16:07 -04:00
ext4_sb.h ext4: Remove old legacy block allocator 2008-10-10 09:40:52 -04:00
ext4.h ext4: add an option to control error handling on file data 2008-10-10 22:12:43 -04:00
extents.c Hook ext4 to the vfs fiemap interface. 2008-10-07 00:46:36 -04:00
file.c ext4: Rename ext4dev to ext4 2008-10-10 20:02:48 -04:00
fsync.c ext4: Add debugging markers that can be used by systemtap 2008-10-05 20:50:06 -04:00
group.h ext4: Rename read_block_bitmap() to ext4_read_block_bitmap() 2008-07-11 19:27:31 -04:00
hash.c ext4: Fix whitespace checkpatch warnings/errors 2008-09-08 22:25:24 -04:00
ialloc.c ext4: fix initialization of UNINIT bitmap blocks 2008-10-10 08:09:18 -04:00
inode.c ext4: Rename ext4dev to ext4 2008-10-10 20:02:48 -04:00
ioctl.c ext4: add checks for errors from jbd2 2008-10-10 20:29:21 -04:00
Makefile ext4: Rename ext4dev to ext4 2008-10-10 20:02:48 -04:00
mballoc.c ext4: fix initialization of UNINIT bitmap blocks 2008-10-10 08:09:18 -04:00
mballoc.h ext4: move /proc setup and teardown out of mballoc.c 2008-09-23 09:18:24 -04:00
migrate.c ext4: elevate write count for migrate ioctl 2008-09-13 12:52:26 -04:00
namei.c ext4: Rename ext4dev to ext4 2008-10-10 20:02:48 -04:00
namei.h
resize.c ext4: Remove old legacy block allocator 2008-10-10 09:40:52 -04:00
super.c ext4: add an option to control error handling on file data 2008-10-10 22:12:43 -04:00
symlink.c ext4: Rename ext4dev to ext4 2008-10-10 20:02:48 -04:00
xattr_security.c ext4: move headers out of include/linux 2008-04-29 18:13:32 -04:00
xattr_trusted.c ext4: remove double definitions of xattr macros 2008-07-11 19:27:31 -04:00
xattr_user.c ext4: remove double definitions of xattr macros 2008-07-11 19:27:31 -04:00
xattr.c ext4: Rename ext4dev to ext4 2008-10-10 20:02:48 -04:00
xattr.h ext4: Rename ext4dev to ext4 2008-10-10 20:02:48 -04:00