1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-09 01:18:39 +03:00
lvm2/daemons/clvmd
Milan Broz fe3a28e2cc Fix possible increasing in memory allocation if refreshing_context
(for example when CLVMD_CMD_LOCK_VG for is called during vgscan).

If clvmd calls LV lock, it calls
    /* clean the pool for another command */
	dm_pool_empty(cmd->mem);
to clean up memory pool after command.

Unfortunately, do_refresh_cache() do not call this
and because during it operation it allocates some memory,
the pool increases.

Also do_refresh_cache should use lvm_lock
(it manipulates with lvm internal data).

The same applies for lvm_backup command.

Signed-off-by: Milan Broz <mbroz@redhat.com>
2009-03-05 16:25:35 +00:00
..
clvm.h When we unlock a VG tell the clvmds to see if a backup of the metadata needs 2007-12-04 15:39:26 +00:00
clvmd-cman.c Allow clvmd to start up if its lockspace already exists. 2009-02-10 11:52:40 +00:00
clvmd-command.c clvmd 2008-11-04 16:41:47 +00:00
clvmd-comms.h Add a corosync/DLM cluster service to clvmd. 2009-01-22 10:21:12 +00:00
clvmd-corosync.c Fix error returns in clvmd-corosync interface to DLM. 2009-02-25 14:33:00 +00:00
clvmd-gulm.c clvmd 2008-11-04 16:41:47 +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 Allow clvmd to be built with all cluster managers & select one on cmdline. 2009-02-02 14:34:24 +00:00
clvmd.c Move tools/version.h to lib/misc/lvm-version.h. 2009-02-22 22:11:58 +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 Fix possible increasing in memory allocation if refreshing_context 2009-03-05 16:25:35 +00:00
lvm-functions.h Add missing mutex around clvmd lvmcache_drop_metadata library call. 2008-05-09 15:13:20 +00:00
Makefile.in Use pkgconfig to obtain corosync library details during configuration. (kabi) 2009-02-25 22:41:12 +00:00
refresh_clvmd.c clvmd 2008-11-04 16:41:47 +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 clvmd 2008-11-04 16:41:47 +00:00
tcp-comms.h Fix clvmd if compiled with gulm support. (2.02.26) 2007-07-24 15:35:11 +00:00