Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 435618b7 authored by David Teigland's avatar David Teigland Committed by Steven Whitehouse
Browse files

[DLM] status messages ping-pong between unmounted nodes



Red Hat BZ 213682

If two nodes leave the lockspace (while unmounting the fs in the case of
gfs) after one has sent a STATUS message to the other, STATUS/STATUS_REPLY
messages will then ping-pong between the nodes when neither of them can
find the lockspace in question any longer.  We kill this by not sending
another STATUS message when we get a STATUS_REPLY for an unknown
lockspace.

Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent 52069809
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -412,8 +412,9 @@ void dlm_receive_rcom(struct dlm_header *hd, int nodeid)

	ls = dlm_find_lockspace_global(hd->h_lockspace);
	if (!ls) {
		log_print("lockspace %x from %d not found",
			  hd->h_lockspace, nodeid);
		log_print("lockspace %x from %d type %x not found",
			  hd->h_lockspace, nodeid, rc->rc_type);
		if (rc->rc_type == DLM_RCOM_STATUS)
			send_ls_not_ready(nodeid, rc);
		return;
	}