kernel-ark/fs/dlm
David Teigland 3650925893 [DLM] fix basts for granted PR waiting CW
Fix a long standing bug where a blocking callback would be missed
when there's a granted lock in PR mode and waiting locks in both
PR and CW modes (and the PR lock was added to the waiting queue
before the CW lock).  The logic simply compared the numerical values
of the modes to determine if a blocking callback was required, but in
the one case of PR and CW, the lower valued CW mode blocks the higher
valued PR mode.  We just need to add a special check for this PR/CW
case in the tests that decide when a blocking callback is needed.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2007-08-14 10:31:02 +01:00
..
ast.c [DLM] fs/dlm/ast.c should #include "ast.h" 2007-05-01 09:11:25 +01:00
ast.h
config.c configfs: Convert subsystem semaphore to mutex 2007-07-10 17:10:56 -07:00
config.h [DLM] add lock timeouts and warnings [2/6] 2007-07-09 08:22:33 +01:00
debug_fs.c [DLM] dump more lock values 2007-07-09 08:24:13 +01:00
dir.c
dir.h
dlm_internal.h [DLM] dump more lock values 2007-07-09 08:24:13 +01:00
Kconfig DLM must depend on SYSFS 2007-07-07 14:17:43 -07:00
lock.c [DLM] fix basts for granted PR waiting CW 2007-08-14 10:31:02 +01:00
lock.h [DLM] canceling deadlocked lock 2007-07-09 08:22:54 +01:00
lockspace.c [DLM] don't require FS flag on all nodes 2007-07-09 08:23:38 +01:00
lockspace.h [DLM] dlm: user locks 2006-07-13 09:25:34 -04:00
lowcomms.c [DLM] More othercon fixes 2007-08-14 10:30:36 +01:00
lowcomms.h [DLM] Clean up lowcomms 2006-12-07 09:25:13 -05:00
lvb_table.h
main.c [DLM] add lock timeouts and warnings [2/6] 2007-07-09 08:22:33 +01:00
Makefile [DLM] add lock timeouts and warnings [2/6] 2007-07-09 08:22:33 +01:00
member.c [DLM] Fix memory leak in dlm_add_member() when dlm_node_weight() returns less than zero 2007-08-14 10:30:04 +01:00
member.h
memory.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
memory.h [DLM] Remove range locks from the DLM 2006-02-23 09:56:38 +00:00
midcomms.c [DLM] rename dlm_config_info fields 2007-02-05 13:36:37 -05:00
midcomms.h
netlink.c [DLM] timeout fixes 2007-07-09 08:22:52 +01:00
rcom.c [DLM] fix NULL ls usage 2007-08-14 10:28:44 +01:00
rcom.h
recover.c [DLM] fix master recovery 2007-02-05 13:36:58 -05:00
recover.h
recoverd.c [DLM] add lock timeouts and warnings [2/6] 2007-07-09 08:22:33 +01:00
recoverd.h
requestqueue.c [DLM] fix add_requestqueue checking nodes list 2006-11-30 10:37:00 -05:00
requestqueue.h [DLM] fix requestqueue race 2006-11-30 10:35:10 -05:00
user.c [DLM] canceling deadlocked lock 2007-07-09 08:22:54 +01:00
user.h [DLM] dlm: user locks 2006-07-13 09:25:34 -04:00
util.c [DLM] fix old rcom messages 2007-02-05 13:35:50 -05:00
util.h