1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/clvmd
Zdenek Kabelac 937a21f0d2 Speedup consequent activation calls
Stop calling fs_unlock() from lv_de/activate().
Start using internal lvm fs cookie for dm_tree.
Stop directly calling dm_udev_wait() and
dm_tree_set/get_cookie() from activate code -
it's now called through fs_unlock() function.

Add lvm_do_fs_unlock()

Call fs_unlock() when unlocking vg where implicit unlock solves the
problem also for cluster - thus no extra command for clustering
environment is required - only lvm_do_fs_unlock() function is added
to call lvm's fs_unlock() while holding lvm_lock mutex in clvmd.

Add fs_unlock() also to set_lv() so the command waits until devices
are ready for regular open (i.e. wiping its begining).

Move fs_unlock() prototype to activation.h to keep fs.h private
in lib/activate dir and not expose other functions from this header.
2011-01-10 14:02:30 +00:00
..
clvm.h Change clvmd to communicate with lvm via a socket in /var/run/lvm. (mbroz) 2010-07-28 13:55:42 +00:00
clvmd-cman.c Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
clvmd-command.c Speedup consequent activation calls 2011-01-10 14:02:30 +00:00
clvmd-common.h Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
clvmd-comms.h Avoid duplicate definitions. 2010-03-23 14:35:08 +00:00
clvmd-corosync.c Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
clvmd-gulm.c Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
clvmd-gulm.h Clean up cluster lock mode and flags definition. 2010-06-17 12:48:54 +00:00
clvmd-openais.c Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
clvmd-singlenode.c Add new dm_prepare_selinux_context fn to libdevmapper and use it throughout. 2010-12-13 10:43:56 +00:00
clvmd.c Remove dead assignment to thisfd 2011-01-05 12:17:19 +00:00
clvmd.h Change clvmd to communicate with lvm via a socket in /var/run/lvm. (mbroz) 2010-07-28 13:55:42 +00:00
lvm-functions.c Speedup consequent activation calls 2011-01-10 14:02:30 +00:00
lvm-functions.h Speedup consequent activation calls 2011-01-10 14:02:30 +00:00
Makefile.in INSTALL rules updates 2010-04-09 21:42:48 +00:00
refresh_clvmd.c Fix another segfault in clvmd -R if no response from daemon received. 2010-07-01 21:46:09 +00:00
refresh_clvmd.h Add -S command to clvmd, so it can restart itself and still 2010-04-20 14:07:37 +00:00
tcp-comms.c Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
tcp-comms.h Fix clvmd if compiled with gulm support. (2.02.26) 2007-07-24 15:35:11 +00:00