linux/fs/gfs2
Steven Whitehouse 1c0f4872dc [GFS2] Remove local exclusive glock mode
Here is a patch for GFS2 to remove the local exclusive flag. In
the places it was used, mutex's are always held earlier in the
call path, so it appears redundant in the LM_ST_SHARED case.

Also, the GFS2 holders were setting local exclusive in any case where
the requested lock was LM_ST_EXCLUSIVE. So the other places in the glock
code where the flag was tested have been replaced with tests for the
lock state being LM_ST_EXCLUSIVE in order to ensure the logic is the
same as before (i.e. LM_ST_EXCLUSIVE is always locally exclusive as well
as globally exclusive).

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2007-02-05 13:37:20 -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] Clean up/speed up readdir 2007-02-05 13:37:04 -05:00
dir.h [GFS2] Clean up/speed up readdir 2007-02-05 13:37:04 -05:00
eaops.c [GFS2] Shrink gfs2_inode (3) - di_mode 2006-11-30 10:34:14 -05:00
eaops.h
eattr.c [GFS2] Remove gfs2_inode_attr_in 2006-11-30 10:34:52 -05:00
eattr.h [GFS2] gfs2 misc endianness annotations 2006-11-30 10:33:46 -05:00
gfs2.h
glock.c [GFS2] Remove local exclusive glock mode 2007-02-05 13:37:20 -05:00
glock.h [GFS2] Remove local exclusive glock mode 2007-02-05 13:37:20 -05:00
glops.c [GFS2] Remove local exclusive glock mode 2007-02-05 13:37:20 -05:00
glops.h
incore.h [GFS2] Remove unused go_callback operation 2007-02-05 13:37:17 -05:00
inode.c [GFS2] make gfs2_change_nlink_i() static 2007-02-05 13:36:49 -05:00
inode.h [GFS2] make gfs2_change_nlink_i() static 2007-02-05 13:36:49 -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] Add writepages for "data=writeback" mounts 2007-02-05 13:37:01 -05:00
ops_address.h
ops_dentry.c [GFS2] Shrink gfs2_inode (3) - di_mode 2006-11-30 10:34:14 -05:00
ops_dentry.h
ops_export.c [GFS2] Remove local exclusive glock mode 2007-02-05 13:37:20 -05:00
ops_export.h
ops_file.c [GFS2] Clean up/speed up readdir 2007-02-05 13:37:04 -05: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] Fix gfs2_rename deadlock 2007-02-05 13:36:31 -05:00
ops_inode.h
ops_super.c [GFS2] Remove the "greedy" function from glock.[ch] 2007-02-05 13:37:14 -05:00
ops_super.h
ops_vm.c [GFS2] Remove the "greedy" function from glock.[ch] 2007-02-05 13:37:14 -05:00
ops_vm.h
quota.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
quota.h
recovery.c [GFS2] Fix indent in recovery.c 2006-12-05 13:34:17 -05:00
recovery.h
rgrp.c [GFS2] Shrink gfs2_inode (4) - di_uid/di_gid 2006-11-30 10:34:17 -05:00
rgrp.h
super.c [GFS2] Remove local exclusive glock mode 2007-02-05 13:37:20 -05:00
super.h [GFS2] split and annotate gfs2_statfs_change 2006-11-30 10:33:38 -05:00
sys.c [GFS2] Remove the "greedy" function from glock.[ch] 2007-02-05 13:37:14 -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