1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/lib/locking
Milan Broz d2031f6a16 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:-)
2010-06-17 12:48:54 +00:00
..
.exported_symbols Pre-release cleanups. 2009-05-21 03:04:52 +00:00
cluster_locking.c Add is_global_vg and split out from is_orphan_vg. 2010-05-19 02:36:33 +00:00
external_locking.c Pre-release cleanups. 2009-05-21 03:04:52 +00:00
file_locking.c Add is_global_vg and split out from is_orphan_vg. 2010-05-19 02:36:33 +00:00
locking_types.h Fix bad prototype from previous checkin. 2009-07-15 05:57:11 +00:00
locking.c Add is_global_vg and split out from is_orphan_vg. 2010-05-19 02:36:33 +00:00
locking.h Clean up cluster lock mode and flags definition. 2010-06-17 12:48:54 +00:00
Makefile.in Install plugins to subdirs 2010-05-06 10:07:46 +00:00
no_locking.c Move error message to locking constructor and print 2010-01-22 09:45:29 +00:00