linux/fs/ocfs2/dlm
Goldwyn Rodrigues c795b33ba1 ocfs2/dlm: Wait on lockres instead of erroring cancel requests
In case a downconvert is queued, and a flock receives a signal,
BUG_ON(lockres->l_action != OCFS2_AST_INVALID) is triggered
because a lock cancel triggers a dlmunlock while an AST is
scheduled.

To avoid this, allow a LKM_CANCEL to pass through, and let it
wait on __dlm_wait_on_lockres().

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
Acked-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2009-08-20 18:42:34 -07:00
..
dlmapi.h
dlmast.c ocfs2: Remove redundant BUG_ON in __dlm_queue_ast() 2009-07-31 13:43:44 -07:00
dlmcommon.h ocfs2/dlm: Remove struct dlm_lock_name in struct dlm_master_list_entry 2009-04-03 11:39:23 -07:00
dlmconvert.c
dlmconvert.h
dlmdebug.c ocfs2/dlm: Tweak mle_state output 2009-04-03 11:39:25 -07:00
dlmdebug.h [PATCH 2/3] ocfs2/dlm: Silence build warnings 2008-05-30 15:15:10 -07:00
dlmdomain.c ocfs2/dlm: Improve lockres counts 2009-04-03 11:39:21 -07:00
dlmdomain.h
dlmfs.c zero i_uid/i_gid on inode allocation 2009-01-05 11:54:28 -05:00
dlmfsver.c
dlmfsver.h
dlmlock.c
dlmmaster.c ocfs2/dlm: Remove struct dlm_lock_name in struct dlm_master_list_entry 2009-04-03 11:39:23 -07:00
dlmrecovery.c ocfs2: trivial fix for s/migrate/migration/ in dlmrecovery.c logging 2009-07-08 15:34:40 -07:00
dlmthread.c ocfs2/dlm: Do not purge lockres that is being migrated dlm_purge_lockres() 2009-04-03 11:39:24 -07:00
dlmunlock.c ocfs2/dlm: Wait on lockres instead of erroring cancel requests 2009-08-20 18:42:34 -07:00
dlmver.c
dlmver.h
Makefile
userdlm.c
userdlm.h ocfs2: comments typo fix 2008-12-01 14:46:31 -08:00