linux/fs/ext2
Jan Kara 48bde86df0 ext2: report metadata errors during fsync
When an IO error happens while writing metadata buffers, we should better
report it and call ext2_error since the filesystem is probably no longer
consistent.  Sometimes such IO errors happen while flushing thread does
background writeback, the buffer gets later evicted from memory, and thus
the only trace of the error remains as AS_EIO bit set in blockdevice's
mapping.  So we check this bit in ext2_fsync and report the error although
we cannot be really sure which buffer we failed to write.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-16 07:20:06 -08:00
..
Kconfig
Makefile switch ext2 to simple_fsync() 2009-06-11 21:36:12 -04:00
acl.c ext[234]: move over to 'check_acl' permission model 2009-09-08 11:09:04 -07:00
acl.h ext[234]: move over to 'check_acl' permission model 2009-09-08 11:09:04 -07:00
balloc.c ext2: Use lowercase names of quota functions 2009-03-26 02:18:36 +01:00
dir.c ext2: report metadata errors during fsync 2009-12-16 07:20:06 -08:00
ext2.h ext2: report metadata errors during fsync 2009-12-16 07:20:06 -08:00
file.c ext2: report metadata errors during fsync 2009-12-16 07:20:06 -08:00
ialloc.c ext2: Use lowercase names of quota functions 2009-03-26 02:18:36 +01:00
inode.c ext2: Unify log messages in ext2 2009-12-10 15:02:52 +01:00
ioctl.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
namei.c ext2: fix format string compile warning (ino_t) 2009-09-23 07:39:58 -07:00
super.c ext2: avoid WARN() messages when failing to write to the superblock 2009-12-16 07:20:05 -08:00
symlink.c
xattr.c ext2: Use lowercase names of quota functions 2009-03-26 02:18:36 +01:00
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c
xip.c ext2: Unify log messages in ext2 2009-12-10 15:02:52 +01:00
xip.h