summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/hastd.c
Commit message (Expand)AuthorAgeFilesLines
* Don't create socketpair for connection forwarding between parent and secondary.pjd2011-03-231-8/+28
* White space cleanups.pjd2011-03-221-6/+6
* Before handling any events on descriptors check signals so we can updatepjd2011-03-211-28/+43
* In hast.conf we define the other node's address in 'remote' variable.pjd2011-03-211-1/+9
* When creating connection on behalf of primary worker, set pjdlog prefixpjd2011-03-211-0/+4
* If there is any traffic on one of out descriptors, we were not checking forpjd2011-03-211-2/+14
* Allow to compress on-the-wire data using two algorithms:pjd2011-03-061-0/+6
* Allow to checksum on-the-wire data using either CRC32 or SHA256.pjd2011-03-061-1/+7
* Now that we break the loop on fstat(2) failure we no longer need to satisfypjd2011-02-061-2/+0
* Add (void) cast before snprintf(3)s for which we are not interested in returnpjd2011-02-061-13/+13
* Treat fstat(2) failure (different than EBADF) as fatal error.pjd2011-02-061-0/+1
* Open syslog when logging sysconf(3) failure.pjd2011-02-061-0/+4
* Close more descriptors that can be open if the worker process for the givenpjd2011-02-061-0/+6
* Setup another socketpair between parent and child, so that primary sandboxedpjd2011-02-031-0/+64
* - Use pjdlog for assertions and aborts as this will log assert/abort messagepjd2011-01-311-15/+14
* Add function to assert that the only descriptors we have open are the onespjd2011-01-281-0/+141
* Add function to close all unneeded descriptors after fork(2).pjd2011-01-281-1/+27
* Close the control socket before exiting, so it will be unlinked.pjd2011-01-271-0/+1
* Add functions to initialize/finalize pjdlog. This allows to open/close logpjd2011-01-271-0/+1
* Don't open configuration file from worker process. Handle SIGHUP in thepjd2011-01-241-7/+41
* - On primary worker reload, update hr_exec field.pjd2011-01-221-2/+5
* Install default signal handlers before masking signals we want to handle.pjd2011-01-121-0/+8
* Log the fact of launching and include protocol version number.pjd2010-12-161-0/+3
* Load geom_gate.ko module after parsing arguments.pjd2010-10-241-2/+2
* Log correct connection when canceling half-open connection.pjd2010-10-171-1/+2
* 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-041-1/+1
* We can't mask ignored signal, so install dummy signal hander for SIGCHLD beforepjd2010-10-041-0/+11
* Switch to sigprocmask(2) API also in the main process and secondary process.pjd2010-09-221-45/+39
* Assert that descriptor numbers are sane.pjd2010-09-221-0/+4
* Fix descriptor leaks: when child exits, we have to close control and eventpjd2010-09-221-8/+2
* Because it is very hard to make fork(2) from threaded process safe (we arepjd2010-08-301-10/+34
* We only want to know if descriptors are ready for reading.pjd2010-08-301-7/+4
* Allow to run hooks from the main hastd process.pjd2010-08-291-3/+17
* When SIGTERM or SIGINT is received, terminate worker processes.pjd2010-08-271-0/+30
* Allow to execute specified program on various HAST events.pjd2010-08-271-1/+5
* Implement configuration reload on SIGHUP. This includes:pjd2010-08-051-8/+200
* Prepare configuration parsing code to be called multiple times:pjd2010-08-051-1/+1
* - Use pjdlog_exitx() to log errors and exit instead of errx().pjd2010-08-051-1/+1
* Correct various log messages.pjd2010-06-141-2/+2
* Remove macros that are not really needed. The idea was to have them in casepjd2010-06-141-20/+12
* - Check if the worker process was killed by signal and restart it.pjd2010-04-291-18/+26
* Fix a problem where hastd will stuck in recv(2) after sending request topjd2010-04-291-0/+4
* Restart worker thread only if the problem was temporary.pjd2010-04-281-3/+9
* Use WEXITSTATUS() to obtain real exit code.pjd2010-04-281-2/+3
* Fix control socket leak when worker process exits.pjd2010-04-161-0/+1
* Please welcome HAST - Highly Avalable Storage.pjd2010-02-181-0/+522
OpenPOWER on IntegriCloud