[Linux-cluster] Persistent lock question for GDLM
pcaulfie at redhat.com
Mon Sep 6 07:46:32 UTC 2004
On Fri, Sep 03, 2004 at 02:02:27PM +0800, Wang, Stanley wrote:
> If DLM_LKF_PERSISTENT is specified, the lock will not be purged when the
> holder (only applied to process) exits. My question is how can I purge
> this persistent lock after the holder exits?
If you know the lock name, then you can do a query to get all the lock IDs and
then simply call dlm_unlock() on them.
If you don't know the lock names then it's much harder, as there is no qildcard
More information about the Linux-cluster