1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/daemons/clvmd
Zdenek Kabelac b714c7ebc6 clvmd: validate open device state
If clvmd does not hold any lock, it should also not keep any opened
device.

The reason for this patch is, that refresh_toolcontext calls
dev_cache_exit() which destroys whole device cache (even those with
opened file) - previous patch added recovery path to avoid memory
corruption, but opened files are still bugs that need to be fixed.

So this patch certainly kills many internal mirror & raid tests,
since they leak opened file descriptors (when tests are executed
with 'abort_on_error').
2014-03-25 11:22:57 +01:00
..
clvm.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
clvmd-cman.c cleanup: clvmd move destroy_lvhash into main 2014-03-21 22:29:25 +01:00
clvmd-command.c cleanup: clvmd assign NULL to pointers 2014-03-10 12:24:09 +01:00
clvmd-common.h Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
clvmd-comms.h Restart CLVMD with same cluster manager 2011-09-25 19:37:00 +00:00
clvmd-corosync.c cleanup: clvmd move destroy_lvhash into main 2014-03-21 22:29:25 +01:00
clvmd-openais.c cleanup: clvmd indent change 2014-03-21 22:29:26 +01:00
clvmd-singlenode.c cleanup: clvmd move destroy_lvhash into main 2014-03-21 22:29:25 +01:00
clvmd.c clvmd: hardening leak on exit 2014-03-25 11:22:57 +01:00
clvmd.h clvmd: Avoid a 3-way deadlock in dead-client cleanup. 2013-09-18 21:17:48 +02:00
lvm-functions.c clvmd: validate open device state 2014-03-25 11:22:57 +01:00
lvm-functions.h CLVMD bugfix support for args -S -E 2011-09-24 20:48:34 +00:00
Makefile.in compile/link: use RELRO/PIE compiler/linker options for executables 2013-12-05 14:03:10 +01:00
refresh_clvmd.c clmvd: fix responce status 2013-04-21 22:54:42 +02:00
refresh_clvmd.h Add -S command to clvmd, so it can restart itself and still 2010-04-20 14:07:37 +00:00