ocfs2_dlm: fix cluster-wide refcounting of lock resources
authorKurt Hackel <kurt.hackel@oracle.com>
Fri, 1 Dec 2006 22:47:20 +0000 (14:47 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 7 Feb 2007 19:53:07 +0000 (11:53 -0800)
commitba2bf2185121db74e075c703fbf986761733dd1d
treef7b90fa14db61fb6fc5d92d393b1d837e58a9faa
parent5331be090567d9335476f876b2d85427cd7c4426
ocfs2_dlm: fix cluster-wide refcounting of lock resources

This was previously broken and migration of some locks had to be temporarily
disabled. We use a new (and backward-incompatible) set of network messages
to account for all references to a lock resources held across the cluster.
once these are all freed, the master node may then free the lock resource
memory once its local references are dropped.

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/cluster/tcp_internal.h
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmdebug.c
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/dlm/dlmlock.c
fs/ocfs2/dlm/dlmmaster.c
fs/ocfs2/dlm/dlmrecovery.c
fs/ocfs2/dlm/dlmthread.c