]> sourceware.org Git - lvm2.git/commit
Clean up cluster lock mode and flags definition.
authorMilan Broz <mbroz@redhat.com>
Thu, 17 Jun 2010 12:48:54 +0000 (12:48 +0000)
committerMilan Broz <mbroz@redhat.com>
Thu, 17 Jun 2010 12:48:54 +0000 (12:48 +0000)
commitc7ec3c65f494c8aa98843aa99f50b9b0bafeb9c7
treeba8347ccc2d4e138351c534ef908969b69f52e5f
parentd01b8d03dbe2ea30829ad43404da20a8e7fb15a4
Clean up cluster lock mode and flags definition.

Code is mixing up internal DLM and LVM definitions of lock
modes and flags.

OpenAIS and singlenode locking do not depend on DLM but
code currently cannot be compiled without libdlm.h!

LCK_* flags is LVM abstraction, used through all the code.
Only low-level backend (clvmd-cman etc) should use DLM definitions,
also this code should do all needed conversions.

Because there are two DLM flags used in generic code
(NOQUEUE, CONVERT) we define it similar way like lock modes.
(So all needed binary-compatible flags are on one place in locking.h)

(Further code cleaning still needed, though:-)
WHATS_NEW
daemons/clvmd/clvmd-command.c
daemons/clvmd/clvmd-gulm.c
daemons/clvmd/clvmd-gulm.h
daemons/clvmd/lvm-functions.c
lib/locking/locking.h
This page took 0.038658 seconds and 5 git commands to generate.