summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFC r270433:ngie2014-09-011-2/+2
| | | | | | | | | | Garbage collect libl dependency The application links and runs without libl Approved by: rpaulo (mentor) Phabric: D673 Submitted by: trociny
* MFC r270117:ngie2014-09-011-1/+1
| | | | | | | Add -ll to LDADD to fix "make checkdpadd" Phabric: D622 Approved by: rpaulo (mentor)
* Get rid of libl dependency. We needed it only to provide yywrap. Buttrociny2013-05-111-1/+1
| | | | | | | yywrap is not necessary when parsing a single hast.conf file. Suggested by: kib Reviewed by: pjd
* Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-191-0/+1
| | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* Use NO_WCAST_ALIGN for usr.bin/hastctl and usr.bin/hastd; the alignmentdim2011-12-191-0/+1
| | | | | | | warnings in sbin/hastd/lzf.c are only emitted for i386 and amd64, and there they can be safely ignored. MFC after: 1 week
* Use lex's standard way of not generating unused function.pjd2011-12-181-3/+0
| | | | | Inspired by: r228555 MFC after: 1 week
* Compile hastd and hastctl with capsicum support.pjd2011-06-271-1/+2
| | | | X-MFC after: capsicum merge
* Rename tcp4 to tcp in preparation for IPv6 support.pjd2011-05-201-1/+1
| | | | MFC after: 3 weeks
* Rename proto_tcp4.c to proto_tcp.c in preparation for IPv6 support.pjd2011-05-201-1/+1
| | | | MFC after: 2 weeks
* The proto API is a general purpose API, so don't use 'hast' in structures orpjd2011-03-221-0/+1
| | | | | | function names. It can now be used outside of HAST. MFC after: 1 week
* - Turn on printf extentions.pjd2011-03-071-0/+1
| | | | | | | | | | - Load support for %T for pritning time. - Add support for %N for printing number in human readable form. - Add support for %S for printing sockaddr structure (currently only AF_INET family is supported, as this is all we need in HAST). - Disable gcc compile-time format checking as this will no longer work. MFC after: 2 weeks
* Allow to compress on-the-wire data using two algorithms:pjd2011-03-061-1/+2
| | | | | | | | | | | - HOLE - it simply turns all-zero blocks into few bytes header; it is extremely fast, so it is turned on by default; it is mostly intended to speed up initial synchronization where we expect many zeros; - LZF - very fast algorithm by Marc Alexander Lehmann, which shows very decent compression ratio and has BSD license. MFC after: 2 weeks
* Allow to checksum on-the-wire data using either CRC32 or SHA256.pjd2011-03-061-2/+2
| | | | MFC after: 2 weeks
* Don't generate input() since it's not used.brucec2010-11-221-0/+1
|
* Because it is very hard to make fork(2) from threaded process safe (we arepjd2010-08-301-1/+1
| | | | | | | | | | | | | | limited to async-signal safe functions in the child process), move all hooks execution to the main (non-threaded) process. Do it by maintaining connection (socketpair) between child and parent and sending events from the child to parent, so it can execute the hook. This is step in right direction for others reasons too. For example there is one less problem to drop privs in worker processes. MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
* Fix compilation with WITHOUT_CRYPT or WITHOUT_OPENSSL options.pjd2010-04-221-3/+7
| | | | | Reported by: Andrei V. Lavreniyuk <andy.lavr@reactor-xg.kiev.ua> MFC after: 3 days
* Remove redundant WARNS?=6 overrides and inherit the WARNS setting fromuqs2010-03-021-1/+0
| | | | | | | | the toplevel directory. This does not change any WARNS level and survives a make universe. Approved by: ed (co-mentor)
* Fixed static linkage.ru2010-02-261-2/+3
|
* Please welcome HAST - Highly Avalable Storage.pjd2010-02-181-0/+37
HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works in Primary-Secondary (Master-Backup, Master-Slave) configuration, which means that only one of the cluster nodes can be active at any given time. Only Primary node is able to handle I/O requests to HAST-managed devices. Currently HAST is limited to two cluster nodes in total. HAST operates on block level - it provides disk-like devices in /dev/hast/ directory for use by file systems and/or applications. Working on block level makes it transparent for file systems and applications. There in no difference between using HAST-provided device and raw disk, partition, etc. All of them are just regular GEOM providers in FreeBSD. For more information please consult hastd(8), hastctl(8) and hast.conf(5) manual pages, as well as http://wiki.FreeBSD.org/HAST. Sponsored by: FreeBSD Foundation Sponsored by: OMCnet Internet Service GmbH Sponsored by: TransIP BV
OpenPOWER on IntegriCloud