original_kernel/fs/gfs2
Steven Whitehouse 26bb7505cf GFS2: Fix glock refcount issues
This patch fixes some ref counting issues. Firstly by moving
the point at which we drop the ref count after a dlm lock
operation has completed we ensure that we never call
gfs2_glock_hold() on a lock with a zero ref count.

Secondly, by using atomic_dec_and_lock() in gfs2_glock_put()
we ensure that at no time will a glock with zero ref count
appear on the lru_list. That means that we can remove the
check for this in our shrinker (which was racy).

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2009-12-03 12:00:12 +00:00
..
Kconfig
Makefile
acl.c
acl.h
aops.c writeback: remove unused nonblocking and congestion checks (gfs2) 2009-12-03 11:59:17 +00:00
bmap.c
bmap.h
dentry.c
dir.c GFS2: Remove dirent_first() function 2009-12-03 11:57:23 +00:00
dir.h
export.c
file.c
gfs2.h
glock.c GFS2: Fix glock refcount issues 2009-12-03 12:00:12 +00:00
glock.h
glops.c
glops.h
incore.h GFS2: add barrier/nobarrier mount options 2009-12-03 11:55:54 +00:00
inode.c GFS2: Tag all metadata with jid 2009-12-03 11:58:47 +00:00
inode.h
lock_dlm.c
log.c GFS2: Tag all metadata with jid 2009-12-03 11:58:47 +00:00
log.h
lops.c GFS2: Tag all metadata with jid 2009-12-03 11:58:47 +00:00
lops.h
main.c
meta_io.c
meta_io.h
ops_fstype.c GFS2: add barrier/nobarrier mount options 2009-12-03 11:55:54 +00:00
ops_inode.c
quota.c GFS2: Improve statfs and quota usability 2009-12-03 11:55:17 +00:00
quota.h GFS2: Improve statfs and quota usability 2009-12-03 11:55:17 +00:00
recovery.c GFS2: Tag all metadata with jid 2009-12-03 11:58:47 +00:00
recovery.h
rgrp.c GFS2: Locking order fix in gfs2_check_blk_state 2009-12-03 11:57:41 +00:00
rgrp.h
super.c GFS2: Display nobarrier option in /proc/mounts 2009-12-03 11:57:05 +00:00
super.h
sys.c
sys.h
trace_gfs2.h
trans.c
trans.h
util.c
util.h
xattr.c
xattr.h