original_kernel/fs/gfs2
Wendy Cheng de986e859a [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>
2007-10-10 08:56:26 +01:00
..
locking [GFS2] GFS2: chmod hung - fix race in thread creation 2007-10-10 08:56:22 +01:00
Kconfig
Makefile
acl.c
acl.h
bmap.c [GFS2] Fix ordering of dirty/journal for ordered buffer unstuffing 2007-10-10 08:56:05 +01:00
bmap.h
daemon.c [GFS2] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
daemon.h [GFS2] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
dir.c [GFS2] Add a missing gfs2_trans_add_bh() 2007-10-10 08:55:32 +01:00
dir.h
eaops.c [GFS2] mark struct *_operations const 2007-10-10 08:55:03 +01:00
eaops.h [GFS2] mark struct *_operations const 2007-10-10 08:55:03 +01:00
eattr.c
eattr.h
gfs2.h
glock.c [GFS2] Move inode deletion out of blocking_cb 2007-10-10 08:56:17 +01:00
glock.h [GFS2] flocks from same process trip kernel BUG at fs/gfs2/glock.c:1118! 2007-10-10 08:56:14 +01:00
glops.c [GFS2] Clean up gfs2_trans_add_revoke() 2007-10-10 08:56:12 +01:00
glops.h
incore.h [GFS2] Clean up journaled data writing 2007-10-10 08:56:24 +01:00
inode.c [GFS2] fix inode meta data corruption 2007-10-10 08:55:51 +01:00
inode.h
lm.c
lm.h
locking.c
log.c [GFS2] Clean up journaled data writing 2007-10-10 08:56:24 +01:00
log.h [GFS2] Clean up journaled data writing 2007-10-10 08:56:24 +01:00
lops.c [GFS2] Clean up journaled data writing 2007-10-10 08:56:24 +01:00
lops.h
main.c [GFS2] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
meta_io.c [GFS2] Data corruption fix 2007-10-10 08:56:26 +01:00
meta_io.h [GFS2] Clean up journaled data writing 2007-10-10 08:56:24 +01:00
mount.c [GFS2] Add NULL entry to token table 2007-10-10 08:55:34 +01:00
mount.h
ops_address.c [GFS2] Data corruption fix 2007-10-10 08:56:26 +01:00
ops_address.h
ops_dentry.c
ops_dentry.h
ops_export.c
ops_file.c [GFS2] flocks from same process trip kernel BUG at fs/gfs2/glock.c:1118! 2007-10-10 08:56:14 +01:00
ops_file.h
ops_fstype.c [GFS2] Clean up journaled data writing 2007-10-10 08:56:24 +01:00
ops_fstype.h
ops_inode.c [GFS2] Clean up journaled data writing 2007-10-10 08:56:24 +01:00
ops_inode.h
ops_super.c [GFS2] Clean up journaled data writing 2007-10-10 08:56:24 +01:00
ops_super.h
ops_vm.c
ops_vm.h
quota.c [GFS2] Fix quota do_list operation hang 2007-10-10 08:55:27 +01:00
quota.h
recovery.c [GFS2] Ensure journal file cache is flushed after recovery 2007-10-10 08:55:12 +01:00
recovery.h
rgrp.c [GFS2] invalid metadata block - REVISED 2007-10-10 08:55:10 +01:00
rgrp.h
super.c [GFS2] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
super.h
sys.c [GFS2] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
sys.h
trans.c [GFS2] Clean up gfs2_trans_add_revoke() 2007-10-10 08:56:12 +01:00
trans.h [GFS2] Clean up gfs2_trans_add_revoke() 2007-10-10 08:56:12 +01:00
util.c
util.h