summaryrefslogtreecommitdiffstats
path: root/hbeat.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove host from hbeat structNathan Straz2013-09-171-2/+0
| | | | | Since we keep a socket open we don't need this anymore and freeing it causes problems.
* Split btime into two partsNathan Straz2013-09-111-24/+5
| | | | | | | We don't need to lookup the addresses every time we get btime. Do it once during hbeat_init and reuse the socket in hbeat. This cleans up the qarsh strace so the hbeat is only a send and recv.
* update btime and hbeat libs to understand ipv6 as well as ipv4.Dean Jansa2010-09-031-11/+19
|
* Try to reduce the number of times we look up a hostname by storingNate Straz2008-09-231-1/+15
| | | | the address in the hbeat struct instead of the name.
* Update copyright dates.Nate Straz2008-09-231-1/+1
|
* We don't need to "sanitize" the hbeat if we didn't get one.Nate Straz2008-09-231-1/+2
| | | | Hopefully we'll get one before the system is declared down.
* Add copyright notices and GPL headerNate Straz2008-09-231-0/+17
|
* Add a check when the btime changes to make sure we're getting consistentNate Straz2008-09-231-1/+11
| | | | | btime values. If we get a different value right way, toss them both and use the next one.
* Set the random seed so all qarsh processes don't generate the sameNate Straz2008-09-231-0/+2
| | | | sequence of cookies.
* Add some more logging to try to nail the false reboot bug.Nate Straz2008-09-231-0/+3
|
* Add a function to get the max timeout value from a heartbeat handle.Nate Straz2008-09-231-0/+6
|
* Reorganized heartbeat state machine to be move explicit.Nate Straz2008-09-231-20/+28
| | | | Don't set last_rhost_btime until after we've checked for a reboot.
* Added interfaces to get/set the hbeat state.Dean Jansa2008-09-231-17/+55
|
* Add heartbeat interface lib filesDean Jansa2008-09-231-0/+122