diff options
author | Jan Kara <jack@suse.cz> | 2006-10-17 03:10:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-17 11:18:46 -0400 |
commit | 58ff407bee5a55f9c1188a3f9d70ffc79485183c (patch) | |
tree | 58132c31553a16b09e10f876561cd9ff1132fa77 /drivers/message | |
parent | d343fce148a4eee24a907a05c4101d3268045aae (diff) |
[PATCH] Fix IO error reporting on fsync()
When IO error happens on metadata buffer, buffer is freed from memory and
later fsync() is called, filesystems like ext2 fail to report EIO. We
solve the problem by introducing a pointer to associated address space into
the buffer_head. When a buffer is removed from a list of metadata buffers
associated with an address space, IO error is transferred from the buffer to
the address space, so that fsync can later report it.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions