linux-kernel-test/fs/ocfs2/dlm
Tao Ma 2d4b1cbb44 ocfs2/dlm: Clear joining_node on hearbeat node down
Currently the process of dlm join contains 2 steps: query join and assert join.
After query join, the joined node will set its joining_node. So if the joining
node happens to panic before the 2nd step, the joined node will fail to clear
its joining_node flag because that node isn't in the domain map. It at least
cause 2 problems.
1. All the new join request will fail. So no new node can mount the volume.
2. The joined node can't umount the volume since during the umount process it
   has to wait for the joining_node to be unknown. So the umount will be hanged.

The solution is to clear the joining_node before we check the domain map.

Signed-off-by: Tao Ma <tao.ma@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2008-01-25 15:05:46 -08:00
..
dlmapi.h ocfs2: Allow binary names in the DLM 2006-09-24 13:50:42 -07:00
dlmast.c ocfs2: fix sparse warnings in fs/ocfs2/dlm 2007-05-02 15:08:15 -07:00
dlmcommon.h ocfs2_dlm: disallow a domain join if node maps mismatch 2007-02-07 12:09:14 -08:00
dlmconvert.c ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
dlmconvert.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmdebug.c ocfs2_dlm: Cookies in locks not being printed correctly in error messages 2007-02-07 12:06:24 -08:00
dlmdomain.c ocfs2: Depend on configfs heartbeat items. 2007-07-10 17:19:40 -07:00
dlmdomain.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmfs.c Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
dlmfsver.c [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmfsver.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmlock.c ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
dlmmaster.c [PATCH] fs/ocfs2: Add missing "space" 2007-11-27 16:47:01 -08:00
dlmrecovery.c ocfs2/dlm: Clear joining_node on hearbeat node down 2008-01-25 15:05:46 -08:00
dlmthread.c [PATCH] ocfs2: use __set_current_state() 2007-05-02 15:07:50 -07:00
dlmunlock.c ocfs2: Added post handler callable function in o2net message handler 2007-02-07 12:06:56 -08:00
dlmver.c [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
dlmver.h [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
Makefile [PATCH] OCFS2: The Second Oracle Cluster Filesystem 2006-01-03 11:45:47 -08:00
userdlm.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
userdlm.h ocfs2: Update dlmfs for new dlmlock() API 2006-09-24 13:50:42 -07:00