summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/primary.c
Commit message (Expand)AuthorAgeFilesLines
* Allow to specify connection timeout by the caller.pjd2011-02-021-2/+2
* - Use pjdlog for assertions and aborts as this will log assert/abort messagepjd2011-01-311-37/+36
* Drop privileges in worker processes.pjd2011-01-281-0/+5
* Use newly added descriptors_assert() function to ensure only expectedpjd2011-01-281-0/+2
* Close all unneeded descriptors after fork(2).pjd2011-01-281-6/+11
* Add comments to places where we treat errors as ciritical, but it is possiblepjd2011-01-281-0/+3
* Don't open configuration file from worker process. Handle SIGHUP in thepjd2011-01-241-50/+27
* The 'ret' variable is of type ssize_t and we use proper format for it (%zd), sopjd2010-12-161-3/+2
* Improve problems logging.pjd2010-12-161-7/+34
* Don't ignore errors from remote requests.pjd2010-12-161-1/+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-241-3/+40
* Plug memory leaks.pjd2010-10-241-0/+1
* We can't zero out ggio request, as we have some fields in there we initializepjd2010-10-081-1/+0
* 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
* Switch to sigprocmask(2) API also in the main process and secondary process.pjd2010-09-221-13/+0
* Fix possible deadlock where worker process sends an event to the main processpjd2010-09-221-4/+12
* Add __dead2 to functions that we know they are going to exit.pjd2010-09-201-2/+2
* 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-301-19/+20
* Use pjdlog_exit() before fork().pjd2010-08-301-2/+2
* Execute hook when connection between the nodes is established or lost.pjd2010-08-301-2/+5
* Execute hook when split-brain is detected.pjd2010-08-301-0/+3
* 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
* Allow to run hooks from the main hastd process.pjd2010-08-291-0/+2
* Correct when we log interrupted synchronization.pjd2010-08-271-6/+4
* Check if no signals were delivered just before going to sleep.pjd2010-08-271-1/+3
* Add hooks execution.pjd2010-08-271-0/+6
* Allow to execute specified program on various HAST events.pjd2010-08-271-1/+17
* Implement keepalive mechanism inside HAST protocol so we can detect secondarypjd2010-08-271-14/+46
* - Remove redundant and incorrect 'old' word from debug message.pjd2010-08-271-2/+4
* Don't increase number synchronized bytes in case of an error.pjd2010-08-271-3/+2
* Log that synchronization was interrupted in a proper place.pjd2010-08-271-5/+8
* We have sync_start() function to start synchronization, introduce sync_stop()pjd2010-08-271-7/+12
* Implement configuration reload on SIGHUP. This includes:pjd2010-08-051-3/+120
* Allow to use 'none' keywork as remote address in case second cluster nodepjd2010-08-051-2/+12
* Reset signal handlers after fork().pjd2010-08-051-0/+3
* Initialize gctl_seq for synchronization requests.pjd2010-06-141-1/+4
* Plug memory leak.pjd2010-06-141-0/+1
* Fix a problem where hastd will stuck in recv(2) after sending request topjd2010-04-291-0/+6
* Mark temporary issues as such.pjd2010-04-281-2/+2
* Increase ggate queue size to maximum value.pjd2010-04-151-1/+1
* Don't hold connection lock when doing reconnects as it makes I/Os wait forpjd2010-03-271-26/+50
OpenPOWER on IntegriCloud