Re: [Linux-cluster] Persistent lock question for GDLM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
lock query.

-- 

patrick


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux