1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 03:27:58 +03:00
lvm2/lib/locking
Alasdair G Kergon 78533f72d3 locking: Introduce LCK_ACTIVATION.
Take a local file lock to prevent concurrent activation/deactivation of LVs.
Thin/cache types and an extension for cluster support are excluded for
now.

'lvchange -ay $lv' and 'lvchange -an $lv' should no longer cause trouble
if issued concurrently: the new lock should make sure they
activate/deactivate $lv one-after-the-other, instead of overlapping.

(If anyone wants to experiment with the cluster patch, please get in touch.)
2014-06-20 13:24:02 +01:00
..
.exported_symbols Pre-release cleanups. 2009-05-21 03:04:52 +00:00
cluster_locking.c clvmd: avoid resending local sync commands 2014-03-19 00:47:58 +01:00
external_locking.c cleanup: drop uneeded headers 2014-05-07 14:17:45 +02:00
file_locking.c locking: Introduce LCK_ACTIVATION. 2014-06-20 13:24:02 +01:00
locking_types.h tools: Add --readonly support. 2014-04-18 02:46:34 +01:00
locking.c locking: Introduce LCK_ACTIVATION. 2014-06-20 13:24:02 +01:00
locking.h locking: Introduce LCK_ACTIVATION. 2014-06-20 13:24:02 +01:00
Makefile.in Install plugins to subdirs 2010-05-06 10:07:46 +00:00
no_locking.c locking: Introduce LCK_ACTIVATION. 2014-06-20 13:24:02 +01:00