Re: [PATCH] dlm: don't set RSB_MASTER_UNCERTAIN on rsb with no master

From: Alexander Aring

Date: Mon Nov 02 2026 - 17:23:23 EST


Hi,

On Mon, Nov 2, 2026 at 4:03 PM Ameer Hamza <ameer.hamza@xxxxxxxxxxx> wrote:
>
> On Mon, Nov 02, 2026 at 03:38:12PM -0500, Alexander Aring wrote:
> > Hi,
> >
> > On Mon, Nov 2, 2026 at 3:03 PM Ameer Hamza <ameer.hamza@xxxxxxxxxxx> wrote:
> > >
> > > On Mon, Nov 02, 2026 at 02:49:04PM -0500, Alexander Aring wrote:
> > > > question:
> > > >
> > > > how do you "pause" anything in DLM?
> > >
> > > The nodes are VMs, so I freeze the dir node from the QEMU monitor. It
> > > stays a member but never answers the lookup, and after the cancel I
> > > evict it through configfs. That is what happens on our HA systems when
> > > the peer reboots without leaving the lockspace and a pending request
> > > gets cancelled before the peer is evicted.
> >
> > Still, do you just randomly freeze it, or do you busy/poll wait on
> > specific struct field changes?
>
> I don't poll anything. The peer is frozen before the request is made,
> so the lookup to it can never complete. Then the request is cancelled,
> the peer is evicted and the name is requested again, and it asserts
> every time.
>

I see, do you use dlm_controld/corosync as cluster manager?

I would assume at some point they should fence the frozen peer.

- Alex