Skip to content

nocontrold: Eliminating ocfs2_controld v4

Mark Fasheh ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Ocfs2-devel] [PATCH 0/6] nocontrold: Eliminating ocfs2_controld v4
Quoted 29 lines · Goldwyn Rodrigues
Quoted 21 lines · Mark Fasheh
Quoted 6 lines · Goldwyn Rodrigues

Hi,

This is an effort of removing ocfs2_controld.pcmk and getting ocfs2 DLM handling up to the times with respect to DLM (>=4.0.1) and corosync (2.3.x). AFAIK, cman also is being phased out for a unified corosync cluster stack.

Thanks again for doing this work. I'm about halfway done with the patches when I write this but things seem to be coming along well.

Quoted 9 lines

fs/dlm performs all the functions with respect to fencing and node management and provides the API's to do so for ocfs2. For all future references, DLM stands for fs/dlm code.

The advantages are:
+ No need to run an additional userspace daemon (ocfs2_controld)
+ No contrrold devince handling and controld protocol
+ Shifting responsibilities of node management to DLM layer

Quoted 6 lines
Quoted 2 lines

For backward compatibility, we are keeping the controld handling code. Once enough time has passed we can remove a significant portion of the code.

Can you give us some brief details on how backwards compatibility was tested? I have a feeling that it would alleviate some concerns we had about that when the 1st series hit ocfs2-devel.

Quoted 5 lines

I ran the code with an unmodified ocfs2-tools/libdlm and it worked fine and I got the expected message of upgrading dlm/ocfs2-tools.

I checked the reverse (older kernel, newer tools) as well, and mount returned ESRCH because ocfs2_controld was not running.

Ok awesome - put this in your next 0/N e-mail please :) It's totally the type of thing I'd love to see up front.

Thanks,

	--Mark
Quoted 4 lines
Signature · 2 lines
-- 
Goldwyn

--
Mark Fasheh