kernel-ark/fs/gfs2
Steven Whitehouse e1d5b18ae9 [GFS2] Fail over to readpage for stuffed files
This is partially derrived from a patch written by Russell Cattelan.
It fixes a bug where there is a race between readpages and truncate
by ignoring readpages for stuffed files. This is ok because a stuffed
file will never be more than one block (minus sizeof(struct gfs2_dinode))
in size and block size is always less than page size, so we do not lose
anything efficiency-wise by not doing readahead for stuffed files. They
will have already been "read ahead" by the action of reading the inode
in, in the first place.

This is the remaining part of the fix for Red Hat bugzilla #218966
which had not yet made it upstream.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Russell Cattelan <cattelan@redhat.com>
2007-02-05 13:36:12 -05:00
..
locking [PATCH] severing skbuff.h -> poll.h 2006-12-04 02:00:31 -05:00
acl.c [GFS2] Remove gfs2_check_acl() 2006-11-30 10:37:32 -05:00
acl.h [GFS2] Remove gfs2_check_acl() 2006-11-30 10:37:32 -05:00
bmap.c [GFS2] Tidy up bmap & fix boundary bug 2006-11-30 10:35:49 -05:00
bmap.h
daemon.c [GFS2] Fix journal flush problem 2006-11-30 10:36:42 -05:00
daemon.h
dir.c [GFS2] Make sentinel dirents compatible with gfs1 2006-11-30 10:36:20 -05:00
dir.h
eaops.c
eaops.h
eattr.c [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
eattr.h
gfs2.h
glock.c Merge master.kernel.org:/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw 2006-12-07 09:13:20 -08:00
glock.h [GFS2] Fix journal flush problem 2006-11-30 10:36:42 -05:00
glops.c [GFS2] Fix journal flush problem 2006-11-30 10:36:42 -05:00
glops.h
incore.h [GFS2] Simplify glops functions 2006-11-30 10:36:30 -05:00
inode.c [GFS2] Fix glock ordering on inode creation 2006-11-30 10:36:33 -05:00
inode.h [GFS2] Remove unused function from inode.c 2006-11-30 10:35:57 -05:00
Kconfig [GFS2] Fix Kconfig 2006-12-15 12:51:51 -05:00
lm.c [GFS2] don't try to lockfs after shutdown 2007-02-05 13:35:44 -05:00
lm.h
locking.c
log.c [GFS2] fs/gfs2/log.c:log_bmap() fix printk format warning 2006-11-30 10:37:04 -05:00
log.h [GFS2] Move gfs2_meta_syncfs() into log.c 2006-11-30 10:36:45 -05:00
lops.c [GFS2] Fix race in logging code 2006-11-30 10:34:55 -05:00
lops.h
main.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
Makefile
meta_io.c [GFS2] Reduce number of arguments to meta_io.c:getbuf() 2006-11-30 10:36:50 -05:00
meta_io.h [GFS2] Move gfs2_meta_syncfs() into log.c 2006-11-30 10:36:45 -05:00
mount.c
mount.h
ondisk.c [GFS2] Don't copy meta_header for rgrp in and out 2006-11-30 10:34:36 -05:00
ops_address.c [GFS2] Fail over to readpage for stuffed files 2007-02-05 13:36:12 -05:00
ops_address.h
ops_dentry.c
ops_dentry.h
ops_export.c
ops_export.h
ops_file.c [PATCH] struct path: convert gfs2 2006-12-08 08:28:45 -08:00
ops_file.h [GFS2] Only set inode flags when required 2006-11-30 10:34:45 -05:00
ops_fstype.c [PATCH] Revert bd_mount_mutex back to a semaphore 2007-01-11 18:18:21 -08:00
ops_fstype.h
ops_inode.c [GFS2] Remove gfs2_check_acl() 2006-11-30 10:37:32 -05:00
ops_inode.h
ops_super.c [GFS2] don't try to lockfs after shutdown 2007-02-05 13:35:44 -05:00
ops_super.h
ops_vm.c
ops_vm.h
quota.c
quota.h
recovery.c [GFS2] Fix indent in recovery.c 2006-12-05 13:34:17 -05:00
recovery.h
rgrp.c
rgrp.h
super.c [GFS2] Add a comment about reading the super block 2006-11-30 10:37:40 -05:00
super.h
sys.c [GFS2] Remove unused sysfs files 2006-11-30 10:35:53 -05:00
sys.h
trans.c
trans.h
util.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
util.h Merge master.kernel.org:/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw 2006-12-07 09:13:20 -08:00