Date: Sun, 6 Mar 2011 23:09:33 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sbin/hastctl Makefile src/sbin/hastd Makefile control.c hast.conf.5 hast.h hast_compression.c hast_compression.h hast_proto.c hastd.c lzf.c lzf.h parse.y primary.c token.l Message-ID: <201103062309.p26N9s45046613@repoman.freebsd.org>
index | next in thread | raw e-mail
pjd 2011-03-06 23:09:33 UTC
FreeBSD src repository
Modified files:
sbin/hastctl Makefile
sbin/hastd Makefile control.c hast.conf.5 hast.h
hast_proto.c hastd.c parse.y primary.c
token.l
Added files:
sbin/hastd hast_compression.c hast_compression.h
lzf.c lzf.h
Log:
SVN rev 219354 on 2011-03-06 23:09:33Z by pjd
Allow to compress on-the-wire data using two algorithms:
- 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
Revision Changes Path
1.6 +2 -1 src/sbin/hastctl/Makefile
1.8 +2 -1 src/sbin/hastd/Makefile
1.14 +3 -0 src/sbin/hastd/control.c
1.13 +20 -0 src/sbin/hastd/hast.conf.5
1.11 +6 -0 src/sbin/hastd/hast.h
1.1 +283 -0 src/sbin/hastd/hast_compression.c (new)
1.1 +44 -0 src/sbin/hastd/hast_compression.h (new)
1.6 +2 -0 src/sbin/hastd/hast_proto.c
1.41 +6 -0 src/sbin/hastd/hastd.c
1.1 +406 -0 src/sbin/hastd/lzf.c (new)
1.1 +211 -0 src/sbin/hastd/lzf.h (new)
1.10 +41 -2 src/sbin/hastd/parse.y
1.56 +8 -0 src/sbin/hastd/primary.c
1.5 +3 -0 src/sbin/hastd/token.l
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103062309.p26N9s45046613>
