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