aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastd
Commit message (Expand)AuthorAgeFilesLines
* Send packets to remote node only via the send thread to avoid possiblePawel Jakub Dawidek2010-11-021-40/+57
* Before this change on first connect between primary and secondary wePawel Jakub Dawidek2010-10-242-5/+51
* Implement nv_exists() function that returns true if argument of the givenPawel Jakub Dawidek2010-10-242-1/+28
* Move all NV defines into nv.c, they are not used externally thus there isPawel Jakub Dawidek2010-10-242-27/+27
* Simplify code a bit.Pawel Jakub Dawidek2010-10-241-3/+1
* Plug memory leak.Pawel Jakub Dawidek2010-10-241-0/+2
* Plug memory leaks.Pawel Jakub Dawidek2010-10-243-0/+27
* Load geom_gate.ko module after parsing arguments.Pawel Jakub Dawidek2010-10-241-2/+2
* Use closefrom(2) instead of close(2) in a loop.Pawel Jakub Dawidek2010-10-201-21/+8
* Log correct connection when canceling half-open connection.Pawel Jakub Dawidek2010-10-171-1/+2
* Use one fprintf() instead of two.Pawel Jakub Dawidek2010-10-161-2/+1
* Clear signal mask before executing a hook.Pawel Jakub Dawidek2010-10-161-0/+3
* We can't zero out ggio request, as we have some fields in there we initializePawel Jakub Dawidek2010-10-081-1/+0
* We close the event socketpair early in the mainloop to prevent spaming withPawel Jakub Dawidek2010-10-081-2/+4
* Clear ggate structures before using them. We don't initialize all the fieldPawel Jakub Dawidek2010-10-071-1/+4
* Log error message when we fail to destroy ggate provider.Pawel Jakub Dawidek2010-10-071-1/+2
* Start the guard thread first, so we can handle signals from the very begining.Pawel Jakub Dawidek2010-10-071-3/+7
* Don't close local component on exit as we can hang waiting on g_waitidle.Pawel Jakub Dawidek2010-10-071-6/+0
* Decrease report interval to 5 seconds, as this also means we will check forPawel Jakub Dawidek2010-10-041-1/+1
* hook_check() is now only used to report about long-running hooks, so thePawel Jakub Dawidek2010-10-043-13/+3
* We can't mask ignored signal, so install dummy signal hander for SIGCHLD beforePawel Jakub Dawidek2010-10-041-0/+11
* Plug memory leak on fork(2) failure.Pawel Jakub Dawidek2010-09-261-0/+1
* Switch to sigprocmask(2) API also in the main process and secondary process.Pawel Jakub Dawidek2010-09-224-61/+44
* Assert that descriptor numbers are sane.Pawel Jakub Dawidek2010-09-221-0/+4
* Fix possible deadlock where worker process sends an event to the main processPawel Jakub Dawidek2010-09-222-8/+26
* Fix descriptor leaks: when child exits, we have to close control and eventPawel Jakub Dawidek2010-09-223-9/+17
* If we are unable to receive control message is most likely because the mainPawel Jakub Dawidek2010-09-221-1/+2
* Sort includes.Pawel Jakub Dawidek2010-09-221-1/+1
* Add __dead2 to functions that we know they are going to exit.Pawel Jakub Dawidek2010-09-202-3/+3
* Include process PID in log messages.Pawel Jakub Dawidek2010-08-311-0/+3
* Correct error message.Pawel Jakub Dawidek2010-08-311-1/+1
* Forgot to add event.c and event.h in r212038.Pawel Jakub Dawidek2010-08-312-0/+208
* Mask only those signals that we want to handle.Pawel Jakub Dawidek2010-08-311-1/+4
* Because it is very hard to make fork(2) from threaded process safe (we arePawel Jakub Dawidek2010-08-305-34/+74
* We only want to know if descriptors are ready for reading.Pawel Jakub Dawidek2010-08-301-7/+4
* When someone gives NULL as data, assume this is because he want to declarePawel Jakub Dawidek2010-08-301-0/+8
* Use pjdlog_exit() before fork().Pawel Jakub Dawidek2010-08-301-2/+2
* Constify arguments we can constify.Pawel Jakub Dawidek2010-08-304-23/+25
* Execute hook when connection between the nodes is established or lost.Pawel Jakub Dawidek2010-08-303-10/+41
* Execute hook when split-brain is detected.Pawel Jakub Dawidek2010-08-303-0/+10
* Use sigtimedwait(2) for signals handling in primary process.Pawel Jakub Dawidek2010-08-301-81/+40
* - Move functionality responsible for checking one connection to separatePawel Jakub Dawidek2010-08-291-52/+75
* Disconnect after logging errors.Pawel Jakub Dawidek2010-08-291-1/+1
* - Call hook on role change.Pawel Jakub Dawidek2010-08-292-1/+26
* Allow to run hooks from the main hastd process.Pawel Jakub Dawidek2010-08-293-3/+22
* - Add hook_fini() which should be called after fork() from the main hastdPawel Jakub Dawidek2010-08-292-22/+62
* Implement mtx_destroy() and rw_destroy().Pawel Jakub Dawidek2010-08-291-0/+16
* When SIGTERM or SIGINT is received, terminate worker processes.Pawel Jakub Dawidek2010-08-271-0/+30
* When logging to stdout/stderr, flush after each log.Pawel Jakub Dawidek2010-08-271-0/+1
* Correct when we log interrupted synchronization.Pawel Jakub Dawidek2010-08-271-6/+4