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

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



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


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