summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/token.l
Commit message (Collapse)AuthorAgeFilesLines
* Improve compatibility with old flex and fix build with GCC.jkim2013-05-221-0/+3
|
* Get rid of libl dependency. We needed it only to provide yywrap. Buttrociny2013-05-111-0/+1
| | | | | | | yywrap is not necessary when parsing a single hast.conf file. Suggested by: kib Reviewed by: pjd
* Remove unused token 'port'.pjd2012-01-201-1/+0
| | | | MFC after: 3 days
* Use lex's standard way of not generating unused function.pjd2011-12-181-0/+3
| | | | | Inspired by: r228555 MFC after: 1 week
* Allow to specify pidfile in HAST configuration file.pjd2011-10-171-0/+1
| | | | MFC after: 1 week
* After every activemap change flush disk's write cache, so that writepjd2011-09-281-0/+2
| | | | | | | | | | | | reordering won't make the actual write to be committed before marking the coresponding extent as dirty. It can be disabled in configuration file. If BIO_FLUSH is not supported by the underlying file system we log a warning and never send BIO_FLUSH again to that GEOM provider. MFC after: 3 days
* Allow [ ] characters in strings. They might be used in IPv6 addresses.pjd2011-05-201-1/+1
| | | | MFC after: 3 weeks
* In hast.conf we define the other node's address in 'remote' variable.pjd2011-03-211-0/+1
| | | | | | | | | | | | | | | | | | This way we know how to connect to secondary node when we are primary. The same variable is used by the secondary node - it only accepts connections from the address stored in 'remote' variable. In cluster configurations it is common that each node has its individual IP address and there is one addtional shared IP address which is assigned to primary node. It seems it is possible that if the shared IP address is from the same network as the individual IP address it might be choosen by the kernel as a source address for connection with the secondary node. Such connection will be rejected by secondary, as it doesn't come from primary node individual IP. Add 'source' variable that allows to specify source IP address we want to bind to before connecting to the secondary node. MFC after: 1 week
* Allow to compress on-the-wire data using two algorithms:pjd2011-03-061-0/+3
| | | | | | | | | | | - 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-0/+5
| | | | MFC after: 2 weeks
* Allow to execute specified program on various HAST events.pjd2010-08-271-0/+1
| | | | | MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
* Fix a problem where hastd will stuck in recv(2) after sending request topjd2010-04-291-0/+1
| | | | | | | | | | secondary, which died between send(2) and recv(2). Do it by adding timeout to recv(2) for primary incoming and outgoing sockets and secondary outgoing socket. Reported by: Mikolaj Golub <to.my.trociny@gmail.com> Tested by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
* Please welcome HAST - Highly Avalable Storage.pjd2010-02-181-0/+66
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