aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastd/secondary.c
Commit message (Expand)AuthorAgeFilesLines
* Send wakeup to threads waiting on empty queue before releasing theMikolaj Golub2013-12-101-5/+2
* Make hastctl list command output current queue sizes.Mikolaj Golub2013-10-261-0/+17
* Fix comments.Mikolaj Golub2013-09-191-3/+2
* Use cv_broadcast() instead of cv_signal() when waking up threadsMikolaj Golub2013-09-191-1/+1
* Delete requests can be larger than MAXPHYS.Pawel Jakub Dawidek2013-03-141-1/+1
* Add i/o error counters to hastd(8) and make hastctl(8) displayMikolaj Golub2013-02-251-1/+17
* - Add support for 'memsync' mode. This is the fastest replication mode that'sPawel Jakub Dawidek2013-02-171-2/+46
* Style cleanups.Pawel Jakub Dawidek2012-01-131-6/+11
* For functions that return -1 on failure check exactly for -1 and not forPawel Jakub Dawidek2012-01-101-16/+16
* fork(2) returns -1 on failure, not some random negative number.Pawel Jakub Dawidek2012-01-061-1/+1
* Remove redundant assignment.Pawel Jakub Dawidek2011-12-151-2/+0
* Remove redundant space.Pawel Jakub Dawidek2011-10-271-1/+1
* - Eliminate the need for hio_nv.Pawel Jakub Dawidek2011-10-271-25/+55
* Correct comments.Pawel Jakub Dawidek2011-10-271-3/+3
* If the underlying provider doesn't support BIO_FLUSH, log it only oncePawel Jakub Dawidek2011-09-281-4/+14
* Break a bit earlier.Pawel Jakub Dawidek2011-09-281-0/+1
* Prefer PJDLOG_ASSERT() and PJDLOG_ABORT() over assert() and abort().Pawel Jakub Dawidek2011-09-271-2/+2
* In HAST we use two sockets - one for only sending the data and one forMikolaj Golub2011-06-171-0/+4
* Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSHPawel Jakub Dawidek2011-05-231-0/+14
* Recognize HIO_FLUSH requests.Pawel Jakub Dawidek2011-05-211-0/+1
* Currently we are unable to use capsicum for the primary worker process,Pawel Jakub Dawidek2011-05-141-1/+1
* Scenario:Pawel Jakub Dawidek2011-04-191-0/+1
* Declare directions for sockets between primary and secondary.Pawel Jakub Dawidek2011-04-021-0/+7
* Add mapsize to the header just before sending the packet.Pawel Jakub Dawidek2011-03-251-1/+1
* Use role2str() when setting process title.Pawel Jakub Dawidek2011-03-251-1/+1
* Don't create socketpair for connection forwarding between parent and secondary.Pawel Jakub Dawidek2011-03-231-12/+0
* White space cleanups.Pawel Jakub Dawidek2011-03-221-2/+2
* When dropping privileges prefer capsicum over chroot+setgid+setuid.Pawel Jakub Dawidek2011-03-211-1/+1
* Fix typo.Pawel Jakub Dawidek2011-03-211-1/+1
* Be pedantic and free nvout before exiting.Pawel Jakub Dawidek2011-03-211-0/+1
* Detect situation where resource internal identifier differs.Pawel Jakub Dawidek2011-03-211-0/+13
* In hast.conf we define the other node's address in 'remote' variable.Pawel Jakub Dawidek2011-03-211-3/+3
* For secondary, set 2 * HAST_KEEPALIVE seconds timeout for incomingMikolaj Golub2011-03-171-1/+1
* Make workers inherit debug level from the main process.Mikolaj Golub2011-03-111-1/+3
* Setup another socketpair between parent and child, so that primary sandboxedPawel Jakub Dawidek2011-02-031-0/+12
* Let the caller log info about successful privilege drop.Pawel Jakub Dawidek2011-02-031-0/+1
* - Use pjdlog for assertions and aborts as this will log assert/abort messagePawel Jakub Dawidek2011-01-311-7/+6
* Drop privileges in worker processes.Pawel Jakub Dawidek2011-01-281-0/+3
* Use newly added descriptors_assert() function to ensure only expectedPawel Jakub Dawidek2011-01-281-0/+2
* Close all unneeded descriptors after fork(2).Pawel Jakub Dawidek2011-01-281-6/+11
* Before this change on first connect between primary and secondary wePawel Jakub Dawidek2010-10-241-2/+11
* Simplify code a bit.Pawel Jakub Dawidek2010-10-241-3/+1
* Plug memory leak.Pawel Jakub Dawidek2010-10-241-0/+2
* Switch to sigprocmask(2) API also in the main process and secondary process.Pawel Jakub Dawidek2010-09-221-2/+4
* Fix possible deadlock where worker process sends an event to the main processPawel Jakub Dawidek2010-09-221-4/+14
* Add __dead2 to functions that we know they are going to exit.Pawel Jakub Dawidek2010-09-201-1/+1
* Correct error message.Pawel Jakub Dawidek2010-08-311-1/+1
* Because it is very hard to make fork(2) from threaded process safe (we arePawel Jakub Dawidek2010-08-301-4/+17
* Execute hook when connection between the nodes is established or lost.Pawel Jakub Dawidek2010-08-301-3/+21
* Execute hook when split-brain is detected.Pawel Jakub Dawidek2010-08-301-0/+2