mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
85fabd8116
The LV locks make sense only for clustered LVs. Properly check cluster flag and never issue cluster lock here. There are several places in code, where it is already checked, this patch add this check to all needed calls. In previous code the lock behaviour was inconsistent, for example, the pre/post callback can take lock even for local volume, but deactivate call do not released this lock and it remains held forever. The local LV lock request now just let run the underlying activation code on local node, the same process like in local locking. (Again, this is important for new mirror repair calls, here for local mirrors but with cluster locking enabled.) |
||
---|---|---|
.. | ||
clvm.h | ||
clvmd-cman.c | ||
clvmd-command.c | ||
clvmd-comms.h | ||
clvmd-corosync.c | ||
clvmd-gulm.c | ||
clvmd-gulm.h | ||
clvmd-openais.c | ||
clvmd.c | ||
clvmd.h | ||
lvm-functions.c | ||
lvm-functions.h | ||
Makefile.in | ||
refresh_clvmd.c | ||
refresh_clvmd.h | ||
tcp-comms.c | ||
tcp-comms.h |