kernel_optimize_test/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
ast.h
config.c
config.h
debug_fs.c
dir.c
dir.h
dlm_internal.h
Kconfig
lock.c [DLM] fix basts for granted PR waiting CW 2007-08-14 10:31:02 +01:00
lock.h
lockspace.c
lockspace.h
lowcomms.c [DLM] More othercon fixes 2007-08-14 10:30:36 +01:00
lowcomms.h
lvb_table.h
main.c
Makefile
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
memory.h
midcomms.c
midcomms.h
netlink.c
rcom.c
rcom.h
recover.c
recover.h
recoverd.c
recoverd.h
requestqueue.c
requestqueue.h
user.c
user.h
util.c
util.h