On Wed, Feb 10, 2016 at 02:33:49AM +0100, Andreas Gruenbacher wrote: > never actively releases existing lockspaces. This means that as soon > as any application creates the default lockspace (via libdlm), or if > an application doesn't release any lockspaces it creates, dlm_controld > will never shut down.
You can simply run 'dlm_tool leave foo' (repeately if necessary) to remove a lockspace. You could add a dlm_tool option that would trivially clear all existing lockspaces this way.