summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/refresh_clvmd.c
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: replace memset with struct initilizationZdenek Kabelac2012-06-221-6/+6
| | | | | Simplifies the code, properly detects too long socket paths, drops unused parameter.
* Add CLVMD_FLAG_REMOTE to skip processing on local node.Alasdair Kergon2012-01-211-18/+15
|
* Always sent the whole command header in restart/reload clvmd commands.Milan Broz2011-09-211-6/+12
| | | | | | (Newly added check catch this as invalid packet.) (N.B. that code is so fragile that it need full rewrite soon:-)
* Fix some unmatching sign comparation gcc warningsZdenek Kabelac2011-04-081-1/+1
| | | | Simple replacement for unsigned type - usually in for() loops.
* Fix sending uninitilised bytes in cluster messagesZdenek Kabelac2011-03-291-2/+4
| | | | | | Fix 2 more functions sending cluster messages to avoid passing uninitilised bytes and compensate 1 extra byte attached to the message from the clvm_header.args[1] member variable.
* Fix another segfault in clvmd -R if no response from daemon received.Milan Broz2010-07-011-1/+1
| | | | Missed the same problem in another function...
* Various cleanups following recent commits.Alasdair Kergon2010-06-211-12/+4
|
* Let running clvmd process time to reexec.Milan Broz2010-06-211-2/+15
| | | | | | | | | | | | Because execve stops the command loop, we never receive response (only socket close) for clvmd -S, so waiting for response here makes no sense. But if the calling process (clvmd -S) exits too early, connection is closed from client side, clvmd takes this as an error and never run restart code. Ugly hack(TM).
* Use "" instead of <> for configure.h and libdevmapper.hZdenek Kabelac2010-06-151-2/+2
| | | | Move configure.h as the first header for clvmd source files.
* Fix segfault in clvmd -R if no response from daemon received.Milan Broz2010-06-071-1/+1
|
* Add -S command to clvmd, so it can restart itself and stillChristine Caulfield2010-04-201-9/+17
| | | | preserve exlusive LV locks.
* missing (C) remindersAlasdair Kergon2009-09-151-1/+0
|
* clvmdAlasdair Kergon2008-11-041-0/+4
|
* Include limits.h so it compiles with newer headers.Christine Caulfield2008-03-061-0/+1
|
* Allow clvmd debug to be turned on in a running daemon using clvmd -dPatrick Caulfield2007-08-171-2/+45
| | | | You can do with cluster-wide too, by adding -C
* Add "const" attributes where possible: first cut.Jim Meyering2007-08-071-1/+1
|
* clvmd ia64 alignment fixes etc. (pjc)Alasdair Kergon2006-12-011-20/+6
|
* Add -R switch to clvmd.Patrick Caulfield2006-10-041-0/+334
This option will instruct all the clvmd daemons in the cluster to reload their device cache