kernel-fxtec-pro1x/fs/dlm
David Teigland 7fe2b3190b dlm: fix ordering of bast and cast
When both blocking and completion callbacks are queued for lock,
the dlm would always deliver the completion callback (cast) first.
In some cases the blocking callback (bast) is queued before the
cast, though, and should be delivered first.  This patch keeps
track of the order in which they were queued and delivers them
in that order.

This patch also keeps track of the granted mode in the last cast
and eliminates the following bast if the bast mode is compatible
with the preceding cast mode.  This happens when a remotely mastered
lock is demoted, e.g. EX->NL, in which case the local node queues
a cast immediately after sending the demote message.  In this way
a cast can be queued for a mode, e.g. NL, that makes an in-transit
bast extraneous.

Signed-off-by: David Teigland <teigland@redhat.com>
2010-02-24 11:46:53 -06:00
..
ast.c dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
ast.h dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
config.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
config.h
debug_fs.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
dir.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
dir.h
dlm_internal.h dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
Kconfig
lock.c dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
lock.h
lockspace.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
lockspace.h dlm: detect available userspace daemon 2008-08-28 11:49:43 -05:00
lowcomms.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
lowcomms.h dlm: connect to nodes earlier 2009-05-15 09:34:12 -05:00
lvb_table.h
main.c
Makefile
member.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
member.h
memory.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
memory.h
midcomms.c dlm: fix up memory allocation flags 2008-12-23 10:15:40 -06:00
midcomms.h
netlink.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
plock.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm 2009-12-10 09:33:59 -08:00
rcom.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
rcom.h
recover.c dlm: change rsbtbl rwlock to spinlock 2009-01-08 15:12:39 -06:00
recover.h
recoverd.c
recoverd.h
requestqueue.c dlm: always use GFP_NOFS 2009-11-30 16:34:43 -06:00
requestqueue.h
user.c dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
user.h dlm: fix ordering of bast and cast 2010-02-24 11:46:53 -06:00
util.c
util.h