freebsd-skq/sbin/hastd
Pawel Jakub Dawidek ce837469ba Before this change on first connect between primary and secondary we
initialize all the data. This is huge waste of time and resources if
there were no writes yet, as there is no real data to synchronize.

Optimize this by sending "virgin" argument to secondary, which gives it a hint
that synchronization is not needed.

In the common case (where noth nodes are configured at the same time) instead
of synchronizing everything, we don't synchronize at all.

MFC after:	1 week
2010-10-24 17:28:25 +00:00
..
activemap.c
activemap.h
control.c We close the event socketpair early in the mainloop to prevent spaming with 2010-10-08 15:02:15 +00:00
control.h Fix descriptor leaks: when child exits, we have to close control and event 2010-09-22 18:57:06 +00:00
ebuf.c Fix typos. 2010-06-14 21:44:58 +00:00
ebuf.h
event.c Forgot to add event.c and event.h in r212038. 2010-08-31 09:38:43 +00:00
event.h Forgot to add event.c and event.h in r212038. 2010-08-31 09:38:43 +00:00
hast_proto.c Constify arguments we can constify. 2010-08-30 22:26:42 +00:00
hast_proto.h Constify arguments we can constify. 2010-08-30 22:26:42 +00:00
hast.conf.5 Execute hook when connection between the nodes is established or lost. 2010-08-30 00:31:30 +00:00
hast.h Because it is very hard to make fork(2) from threaded process safe (we are 2010-08-30 23:26:10 +00:00
hastd.8 mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
hastd.c Load geom_gate.ko module after parsing arguments. 2010-10-24 15:38:58 +00:00
hastd.h Switch to sigprocmask(2) API also in the main process and secondary process. 2010-09-22 19:08:11 +00:00
hooks.c Use closefrom(2) instead of close(2) in a loop. 2010-10-20 21:10:01 +00:00
hooks.h hook_check() is now only used to report about long-running hooks, so the 2010-10-04 21:43:06 +00:00
Makefile Because it is very hard to make fork(2) from threaded process safe (we are 2010-08-30 23:26:10 +00:00
metadata.c Plug memory leaks. 2010-06-14 21:25:20 +00:00
metadata.h
nv.c Implement nv_exists() function that returns true if argument of the given 2010-10-24 17:24:08 +00:00
nv.h Implement nv_exists() function that returns true if argument of the given 2010-10-24 17:24:08 +00:00
parse.y Plug memory leaks. 2010-10-24 15:41:23 +00:00
pjdlog.c Use one fprintf() instead of two. 2010-10-16 22:50:12 +00:00
pjdlog.h Problem with assertion is that it logs on stderr. Add two macros: 2010-08-05 18:26:38 +00:00
primary.c Before this change on first connect between primary and secondary we 2010-10-24 17:28:25 +00:00
proto_common.c For some setups sending data in 128kB chunks makes communication very slow. No 2010-08-18 12:09:27 +00:00
proto_impl.h Add an argument to the proto_register() function which allows protocol to 2010-08-05 17:56:41 +00:00
proto_socketpair.c When someone gives NULL as data, assume this is because he want to declare 2010-08-30 23:16:45 +00:00
proto_tcp4.c Make comment more readable. 2010-08-27 13:54:17 +00:00
proto_uds.c Assert that various buffers we are large enough. 2010-08-05 18:27:41 +00:00
proto.c Constify arguments we can constify. 2010-08-30 22:26:42 +00:00
proto.h Constify arguments we can constify. 2010-08-30 22:26:42 +00:00
rangelock.c
rangelock.h
secondary.c Before this change on first connect between primary and secondary we 2010-10-24 17:28:25 +00:00
subr.c
subr.h
synch.h Plug memory leaks. 2010-10-24 15:41:23 +00:00
token.l Allow to execute specified program on various HAST events. 2010-08-27 15:16:52 +00:00