aboutsummaryrefslogtreecommitdiff
path: root/drivers/message/Makefile
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-12-15 16:46:49 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-16 07:20:06 -0800
commit48bde86df0acb9f53c4fd0908d023ecae962762f (patch)
tree267f26b2f4945f8c03c12ddcbb9cd26c6e3e0ad0 /drivers/message/Makefile
parent7bf0dc9b0ca9e9b6524b1f70e0898c7f11eb10be (diff)
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>
Diffstat (limited to 'drivers/message/Makefile')
0 files changed, 0 insertions, 0 deletions