summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/primary.c
Commit message (Expand)AuthorAgeFilesLines
* MFC r257155, r257582, r259191, r259192, r259193, r259194, r259195, r259196:trociny2013-12-281-134/+109
* MFC r257154:trociny2013-10-311-1/+1
* When updating the map of dirty extents, most recently used extents aretrociny2013-09-191-8/+22
* Use cv_broadcast() instead of cv_signal() when waking up threadstrociny2013-09-191-2/+2
* Use C11 <stdatomic.h> instead of our non-standard <machine/atomic.h>.ed2013-04-271-6/+7
* Add i/o error counters to hastd(8) and make hastctl(8) displaytrociny2013-02-251-0/+18
* - Add support for 'memsync' mode. This is the fastest replication mode that'spjd2013-02-171-21/+165
* Make use of GEOM Gate direct reads feature. This allows HAST to servepjd2012-07-041-1/+31
* Simplify the code by using snprlcat().pjd2012-06-031-27/+24
* If a local write request is from the synchronization thread, when ittrociny2012-02-051-1/+2
* Fix the regression introduced in r226859: if the local component istrociny2012-02-051-1/+1
* 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
OpenPOWER on IntegriCloud