summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/primary.c
Commit message (Expand)AuthorAgeFilesLines
* For functions that return -1 on failure check exactly for -1 and not forpjd2012-01-101-38/+38
* Spelling fixes for sbin/uqs2012-01-071-1/+1
* fork(2) returns -1 on failure, not some random negative number.pjd2012-01-061-1/+1
* Implement 'async' mode for HAST.pjd2011-10-271-47/+78
* Minor cleanups.pjd2011-10-271-1/+2
* Reduce indentation.pjd2011-10-271-24/+24
* Improve comment so it doesn't suggest race is possible, but that we handlepjd2011-10-271-1/+1
* Monor cleanups.pjd2011-10-271-6/+7
* Delay resuid generation until first connection to secondary, not until firstpjd2011-10-271-6/+3
* Correct typo.pjd2011-09-281-1/+1
* If the underlying provider doesn't support BIO_FLUSH, log it only oncepjd2011-09-281-0/+7
* After every activemap change flush disk's write cache, so that writepjd2011-09-281-0/+19
* No need to wrap pjdlog functions around with KEEP_ERRNO() macro.pjd2011-09-271-2/+1
* Correct two mistakes when converting asserts to PJDLOG_ASSERT()/PJDLOG_ABORT().pjd2011-09-271-4/+2
* Fix indentation.trociny2011-07-131-1/+1
* Check the returned value of activemap_write_complete() and update matadata ontrociny2011-06-281-2/+5
* In HAST we use two sockets - one for only sending the data and one fortrociny2011-06-171-0/+2
* If READ from the local node failed we send the request to the remotetrociny2011-05-291-1/+1
* Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSHpjd2011-05-231-0/+11
* Currently we are unable to use capsicum for the primary worker process,pjd2011-05-141-1/+1
* When we become primary, we connect to the remote and expect it to be inpjd2011-04-201-13/+49
* Scenario:pjd2011-04-191-0/+19
* Declare directions for sockets between primary and secondary.pjd2011-04-021-0/+5
* Handle the problem described in r220264 by using GEOM GATE queue of unlimitedpjd2011-04-021-1/+1
* Use timeout from configuration file not only when sending and receiving,pjd2011-03-251-1/+1
* Use role2str() when setting process title.pjd2011-03-251-1/+1
* After synchronization is complete we should make primary counters betrociny2011-03-221-3/+3
* For requests that are sent only to remote component use thetrociny2011-03-221-2/+7
* White space cleanups.pjd2011-03-221-3/+3
* When dropping privileges prefer capsicum over chroot+setgid+setuid.pjd2011-03-211-1/+1
* Initialize localcnt on first write. This fixes assertion when we createpjd2011-03-211-2/+6
* In hast.conf we define the other node's address in 'remote' variable.pjd2011-03-211-11/+21
* For secondary, set 2 * HAST_KEEPALIVE seconds timeout for incomingtrociny2011-03-171-8/+4
* Make workers inherit debug level from the main process.trociny2011-03-111-1/+3
* - Log size of data to synchronize in human readable form (using %N).pjd2011-03-071-6/+18
* Allow to compress on-the-wire data using two algorithms:pjd2011-03-061-0/+8
* Allow to checksum on-the-wire data using either CRC32 or SHA256.pjd2011-03-061-10/+19
* Setup another socketpair between parent and child, so that primary sandboxedpjd2011-02-031-30/+60
* Add missing locking after moving keepalive_send() to remote send threadpjd2011-02-031-3/+9
* Let the caller log info about successful privilege drop.pjd2011-02-031-0/+1
* 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
OpenPOWER on IntegriCloud