aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fifo.c
diff options
context:
space:
mode:
authorWendy Cheng <wcheng@redhat.com>2007-09-18 09:19:13 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-10-10 08:56:26 +0100
commitde986e859a29097fb9211b052d86a9a2c868f6cd (patch)
tree85c97fe22e0eafb3c7440c8ff21fe73d8c456960 /fs/fifo.c
parent[GFS2] Clean up journaled data writing (diff)
downloadlinux-dev-de986e859a29097fb9211b052d86a9a2c868f6cd.tar.xz
linux-dev-de986e859a29097fb9211b052d86a9a2c868f6cd.zip
[GFS2] Data corruption fix
* GFS2 has been using i_cache array to store its indirect meta blocks. Its flush routine doesn't correctly clean up all the entries. The problem would show while multiple nodes do simultaneous writes to the same file. Upon glock exclusive lock transfer, if the file is a sparse file with large file size where the indirect meta blocks span multiple array entries with "zero" entries in between. The flush routine prematurely stops the flushing that leaves old (stale) entries around. This leads to several nasty issues, including data corruption. * Fix gfs2_get_block_noalloc checking to correctly return EIO upon unmapped buffer. Signed-off-by: Wendy Cheng <wcheng@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/fifo.c')
0 files changed, 0 insertions, 0 deletions