summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/secondary.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r257155, r257582, r259191, r259192, r259193, r259194, r259195, r259196:trociny2013-12-281-5/+19
* Fix comments.trociny2013-09-191-3/+2
* Use cv_broadcast() instead of cv_signal() when waking up threadstrociny2013-09-191-1/+1
* Delete requests can be larger than MAXPHYS.pjd2013-03-141-1/+1
* Add i/o error counters to hastd(8) and make hastctl(8) displaytrociny2013-02-251-1/+17
* - Add support for 'memsync' mode. This is the fastest replication mode that'spjd2013-02-171-2/+46
* Style cleanups.pjd2012-01-131-6/+11
* For functions that return -1 on failure check exactly for -1 and not forpjd2012-01-101-16/+16
* fork(2) returns -1 on failure, not some random negative number.pjd2012-01-061-1/+1
* Remove redundant assignment.pjd2011-12-151-2/+0
* Remove redundant space.pjd2011-10-271-1/+1
* - Eliminate the need for hio_nv.pjd2011-10-271-25/+55
* Correct comments.pjd2011-10-271-3/+3
* If the underlying provider doesn't support BIO_FLUSH, log it only oncepjd2011-09-281-4/+14
* Break a bit earlier.pjd2011-09-281-0/+1
* Prefer PJDLOG_ASSERT() and PJDLOG_ABORT() over assert() and abort().pjd2011-09-271-2/+2
* In HAST we use two sockets - one for only sending the data and one fortrociny2011-06-171-0/+4
* Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSHpjd2011-05-231-0/+14
* Recognize HIO_FLUSH requests.pjd2011-05-211-0/+1
* Currently we are unable to use capsicum for the primary worker process,pjd2011-05-141-1/+1
* Scenario:pjd2011-04-191-0/+1
* Declare directions for sockets between primary and secondary.pjd2011-04-021-0/+7
* Add mapsize to the header just before sending the packet.pjd2011-03-251-1/+1
* Use role2str() when setting process title.pjd2011-03-251-1/+1
* Don't create socketpair for connection forwarding between parent and secondary.pjd2011-03-231-12/+0
* White space cleanups.pjd2011-03-221-2/+2
* When dropping privileges prefer capsicum over chroot+setgid+setuid.pjd2011-03-211-1/+1
* Fix typo.pjd2011-03-211-1/+1
* Be pedantic and free nvout before exiting.pjd2011-03-211-0/+1
* Detect situation where resource internal identifier differs.pjd2011-03-211-0/+13
* In hast.conf we define the other node's address in 'remote' variable.pjd2011-03-211-3/+3
* For secondary, set 2 * HAST_KEEPALIVE seconds timeout for incomingtrociny2011-03-171-1/+1
* Make workers inherit debug level from the main process.trociny2011-03-111-1/+3
* Setup another socketpair between parent and child, so that primary sandboxedpjd2011-02-031-0/+12
* Let the caller log info about successful privilege drop.pjd2011-02-031-0/+1
* - Use pjdlog for assertions and aborts as this will log assert/abort messagepjd2011-01-311-7/+6
* Drop privileges in worker processes.pjd2011-01-281-0/+3
* 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
* Before this change on first connect between primary and secondary wepjd2010-10-241-2/+11
* Simplify code a bit.pjd2010-10-241-3/+1
* Plug memory leak.pjd2010-10-241-0/+2
* Switch to sigprocmask(2) API also in the main process and secondary process.pjd2010-09-221-2/+4
* Fix possible deadlock where worker process sends an event to the main processpjd2010-09-221-4/+14
* Add __dead2 to functions that we know they are going to exit.pjd2010-09-201-1/+1
* Correct error message.pjd2010-08-311-1/+1
* Because it is very hard to make fork(2) from threaded process safe (we arepjd2010-08-301-4/+17
* Execute hook when connection between the nodes is established or lost.pjd2010-08-301-3/+21
* Execute hook when split-brain is detected.pjd2010-08-301-0/+2
* Allow to run hooks from the main hastd process.pjd2010-08-291-0/+3
OpenPOWER on IntegriCloud