Skip to content

nocontrold: Eliminating ocfs2_controld

Goldwyn Rodrigues ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Add dlm operations placeholdersfs/ocfs2/stack_user.c+28 -21 reply
1/6Add dlm operations placeholders+0 -00 replies
2/6Add clustername while creating new lockspacefs/ocfs2/dlmglue.c fs/ocfs2/ocfs2.h fs/ocfs2/stack_user.c +3 more+22 -31 reply
3/6Remove control handling from cluster_connectfs/ocfs2/stack_user.c+0 -241 reply
4/6ocfs2_connection_private for holding DLM this_node informationfs/ocfs2/dlmglue.c fs/ocfs2/stack_o2cb.c fs/ocfs2/stack_user.c +2 more+52 -120 replies
5/6Remove control data structures and functionsfs/ocfs2/stack_user.c+1 -6630 replies
6/6Disallow cluster_stack changes if fs are mountedfs/ocfs2/stackglue.c fs/ocfs2/stackglue.h fs/ocfs2/super.c+23 -01 reply

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

Hi,

I am re-sending this patch series because I did not get a response for the previous set.

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.

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
+ Huge reduction in source code, both in kernel and userspace

This feature requires modification in the userspace ocfs2-tools. The changes can be found at:
https://github.com/goldwynr/ocfs2-tools branch: nocontrold Currently, not many checks are present in the userspace code, but that would change soon.

These changes were developed on linux-stable 3.10.y, though they are applicable at the current upstream as well. If you want to give the entire kernel a spin, the link is:

https://github.com/goldwynr/linux-stable branch: nocontrold

Review comments/suggestions/criticism welcome.

Signature · 1 line
Goldwyn