linux/fs/gfs2
Wendy Cheng a13b8c5f23 [GFS2] Reduce truncate IO traffic
Current GFS2 setattr call unconditionally invokes do_shrink even the
requested size and actual file size are equal. This has generated large
amount of extra IOs found during NFS benchmark runs. This patch moves
the relevant logic out of shrink code path. Since setattr is a system
call, the time stamps update is still required.

Signed-off-by: S. Wendy Cheng <wcheng@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2007-10-10 08:55:36 +01:00
..
locking [GFS2] use an temp variable to reduce a spin_unlock 2007-10-10 08:54:58 +01:00
acl.c Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid check 2007-07-17 12:00:03 -07:00
acl.h
bmap.c [GFS2] Reduce truncate IO traffic 2007-10-10 08:55:36 +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] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
glock.h [GFS2] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
glops.c [GFS2] Clean up invalidatepage/releasepage 2007-10-10 08:55:29 +01:00
glops.h
incore.h [GFS2] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
inode.c
inode.h
Kconfig
lm.c
lm.h
locking.c
log.c [GFS2] Clean up invalidatepage/releasepage 2007-10-10 08:55:29 +01:00
log.h
lops.c [GFS2] Move some code inside the log lock 2007-10-10 08:54:51 +01:00
lops.h
main.c [GFS2] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
Makefile
meta_io.c
meta_io.h
mount.c [GFS2] Add NULL entry to token table 2007-10-10 08:55:34 +01:00
mount.h
ops_address.c [GFS2] Clean up invalidatepage/releasepage 2007-10-10 08:55:29 +01:00
ops_address.h
ops_dentry.c
ops_dentry.h
ops_export.c
ops_file.c [GFS2] Fix setting of inherit jdata attr 2007-08-14 10:34:11 +01:00
ops_file.h
ops_fstype.c [GFS2] Clean up invalidatepage/releasepage 2007-10-10 08:55:29 +01:00
ops_fstype.h
ops_inode.c [GFS2] GFS2 not checking pointer on create when running under nfsd 2007-10-10 08:54:46 +01:00
ops_inode.h
ops_super.c [GFS2] Reduce number of gfs2_scand processes to one 2007-10-10 08:55:08 +01:00
ops_super.h
ops_vm.c mm: fault feedback #2 2007-07-19 10:04:41 -07:00
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
trans.h
util.c
util.h