1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/clvmd
Milan Broz 85fabd8116 Never ever use distributed lock for LV in non-clustered VG.
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.)
2009-12-09 19:00:16 +00:00
..
clvm.h Add infrastructure for queriying for remote locks. 2009-05-19 10:38:58 +00:00
clvmd-cman.c Tidy lv_hash[_lock] use inside clvmd. 2009-04-21 13:11:28 +00:00
clvmd-command.c Get rid of magic masks in cluster locking code - clvmd part. 2009-12-09 18:42:02 +00:00
clvmd-comms.h Rewrite clvmd configuration code. 2009-08-28 19:22:05 +00:00
clvmd-corosync.c missing (C) reminders 2009-09-15 12:51:28 +00:00
clvmd-gulm.c missing (C) reminders 2009-09-15 12:51:28 +00:00
clvmd-gulm.h Fix clvmd if compiled with gulm support. (2.02.26) 2007-07-24 15:35:11 +00:00
clvmd-openais.c missing (C) reminders 2009-09-15 12:51:28 +00:00
clvmd.c Make clvmd return 0 on success rather than 1. 2009-10-12 08:33:30 +00:00
clvmd.h Allow clvmd debug to be turned on in a running daemon using clvmd -d 2007-08-17 11:51:23 +00:00
lvm-functions.c Never ever use distributed lock for LV in non-clustered VG. 2009-12-09 19:00:16 +00:00
lvm-functions.h Destroy toolcontext on exit in clvmd (fixes memory pool leaks). 2009-06-15 12:15:23 +00:00
Makefile.in More makefile cleaning up and fixing. (gentoo) 2009-10-05 13:46:00 +00:00
refresh_clvmd.c missing (C) reminders 2009-09-15 12:51:28 +00:00
refresh_clvmd.h Allow clvmd debug to be turned on in a running daemon using clvmd -d 2007-08-17 11:51:23 +00:00
tcp-comms.c missing (C) reminders 2009-09-15 12:51:28 +00:00
tcp-comms.h Fix clvmd if compiled with gulm support. (2.02.26) 2007-07-24 15:35:11 +00:00