Skip to content

dlm: overview

David Teigland lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 7 patches 52 repliesIn review

6 of 7 patches are in this archive. The cover letter announces 7.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/7dlm: communicationdrivers/dlm/lowcomms.c drivers/dlm/lowcomms.h drivers/dlm/midcomms.c +1 more+1520 -01 reply
3/7dlm: recoverydrivers/dlm/member.c drivers/dlm/member.h drivers/dlm/rcom.c +7 more+2463 -05 replies
4/7dlm: configurationdrivers/dlm/config.c drivers/dlm/config.h drivers/dlm/member_sysfs.c +3 more+584 -03 replies
5/7dlm: device interfacedrivers/dlm/device.c drivers/dlm/device.h include/linux/dlm_device.h+1260 -04 replies
6/7dlm: debug fsdrivers/dlm/debug_fs.c+304 -01 reply
7/7dlm: builddrivers/Kconfig 2005-04-25 16:01:50.476634504 +0800 drivers/Makefile 2005-04-25 16:10:10.228660648 +0800 drivers/dlm/Kconfig +1 more+51 -06 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] dlm: overview

Hi,

This is a distributed lock manager (dlm) that we'd like to see added to the kernel. The dlm programming api is very similar to that found on other operating systems, but this is modeled most closely after that in VMS.

Many distributed/cluster applications use a dlm for inter-process synchronization where processes may live on different machines. (GFS and CLVM are two examples which our group also develop; GFS using the dlm from the kernel and CLVM from userspace.)

We've done a lot of work in this second version to meet the kernel's conventions. Comments and suggestions are welcome; we're happy to answer questions and make changes so this can be a widely useful feature for people running Linux clusters.

The dlm requires configuration from userspace. In particular, it needs to be told which other nodes it should work with, and provided with their IP addresses. In a typical setup, a cluster-membership system in userspace would do this configuration (the dlm is agnostic about what system that is). A command line tool can also be used to configure it manually. (It's helpful to compare this with device-mapper where dmsetup/LVM2/EVMS are all valid userland alternatives for driving device-mapper.)

Features _not_ in this patchset that can be added incrementally:
. hierarchical parent/child locks
. lock querying interface
. deadlock handling, lock timeouts
. configurable method for master selection (e.g. static master
assignment with no resource directory)

Background: we began developing this dlm from the ground up about 3 years ago at Sistina. It became GPL after the Red Hat acquisition.

The following patches are against 2.6.12-rc3 and do not touch any existing files in the kernel.