kernel_optimize_test/fs/gfs2
Steven Whitehouse a2242db090 [GFS2] Speed up scanning of glocks
I noticed the gfs2_scand seemed to be taking a lot of CPU,
so in order to cut that down a bit, here is a patch. Firstly
the type of a glock is a constant during its lifetime, so that
its possible to check this without needing locking. I've moved
the (common) case of testing for an inode glock outside of
the glmutex lock.

Also there was a mutex left over from when the glock cache was
master of the inode cache. That isn't required any more so I've
removed that too.

There is probably scope for further speed ups in the future
in this area.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-08-24 17:03:05 -04:00
..
locking [GFS2] match plock result with correct request 2006-08-07 08:46:51 -04:00
acl.c [GFS2] Remove gfs2_repermission 2006-06-22 10:59:10 -04:00
acl.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
bmap.c [GFS2] Remove page.[ch] 2006-07-26 11:27:10 -04:00
bmap.h [GFS2] Tidy gfs2_unstuffer_page 2006-07-26 10:51:20 -04:00
daemon.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
daemon.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
dir.c [GFS2] Fix bug in directory code 2006-08-01 15:28:57 -04:00
dir.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
eaops.c [GFS2] [-mm patch] fs/gfs2/: make code static 2006-06-22 11:16:40 -04:00
eaops.h [GFS2] [-mm patch] fs/gfs2/: make code static 2006-06-22 11:16:40 -04:00
eattr.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
eattr.h [GFS2] selinux support 2006-05-22 10:08:35 -04:00
format.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
gfs2.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
glock.c [GFS2] Speed up scanning of glocks 2006-08-24 17:03:05 -04:00
glock.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
glops.c [GFS2] Use a bio to read the superblock 2006-07-27 13:53:53 -04:00
glops.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
incore.h [GFS2] Speed up scanning of glocks 2006-08-24 17:03:05 -04:00
inode.c [GFS2] Tidy up in various files 2006-07-31 15:42:17 -04:00
inode.h [GFS2] Remove gfs2_repermission 2006-06-22 10:59:10 -04:00
Kconfig [GFS2] gfs2/dlm: mailing list and web page 2006-06-22 15:29:57 -04:00
lm_interface.h [GFS2] lockproto api prefix 2006-08-07 08:46:19 -04:00
lm.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lm.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
locking.c [GFS2] Fix gfs_ prefix in locking.c 2006-08-07 11:12:30 -04:00
log.c [GFS2] Fix lock ordering bug in page fault path 2006-08-04 15:41:22 -04:00
log.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lops.c [GFS2] Another list_del bug 2006-08-22 16:25:50 -04:00
lops.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lvb.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
lvb.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
main.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
Makefile [GFS2] Remove page.[ch] 2006-07-26 11:27:10 -04:00
meta_io.c [GFS2] Fix leak of gfs2_bufdata 2006-08-18 15:51:09 -04:00
meta_io.h [GFS2] Tidy up in various files 2006-07-31 15:42:17 -04:00
mount.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
mount.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ondisk.c [GFS2] Add generation number 2006-07-11 09:46:33 -04:00
ops_address.c [GFS2] Tidy up error handling in gfs2_releasepage() 2006-08-24 15:59:40 -04:00
ops_address.h [GFS2] Add generation number 2006-07-11 09:46:33 -04:00
ops_dentry.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
ops_dentry.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_export.c [GFS2] NFS update 2006-07-13 09:24:48 -04:00
ops_export.h [GFS2] NFS update 2006-07-13 09:24:48 -04:00
ops_file.c [GFS2] Tidy up in various files 2006-07-31 15:42:17 -04:00
ops_file.h [GFS2] Mark file_operations const 2006-07-03 13:47:02 -04:00
ops_fstype.c [GFS2] Speed up scanning of glocks 2006-08-24 17:03:05 -04:00
ops_fstype.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_inode.c [GFS2] Remove page.[ch] 2006-07-26 11:27:10 -04:00
ops_inode.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_super.c [GFS2] Fix leak of gfs2_bufdata 2006-08-18 15:51:09 -04:00
ops_super.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
ops_vm.c [GFS2] Fix lock ordering bug in page fault path 2006-08-04 15:41:22 -04:00
ops_vm.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
quota.c [GFS2] Remove dependance on tty_write_message() 2006-07-03 11:20:06 -04:00
quota.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
recovery.c [GFS2] Fix a couple of refcount leaks. 2006-08-10 17:18:59 -04:00
recovery.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
rgrp.c [GFS2] Another list_del bug 2006-08-22 16:25:50 -04:00
rgrp.h [GFS2] Add generation number 2006-07-11 09:46:33 -04:00
super.c [GFS2] Fix bug in super block reading code 2006-07-27 16:37:48 -04:00
super.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
sys.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
sys.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
trans.c [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00
trans.h [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
util.c [GFS2] Fix unlinked file handling 2006-06-14 15:32:57 -04:00
util.h [GFS2] Update copyright date to 2006 2006-05-18 15:09:15 -04:00