summaryrefslogtreecommitdiffstats
path: root/sbin/hastctl
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-03-06 23:09:33 +0000
committerpjd <pjd@FreeBSD.org>2011-03-06 23:09:33 +0000
commit337b50efa895f3694fae9eeac35a3abd16181e75 (patch)
tree89777d06274aeb1f7f06b2647305a98d160268c9 /sbin/hastctl
parent8697092f0ef00a8c8c15e4c26574e6fbfce848a2 (diff)
downloadFreeBSD-src-337b50efa895f3694fae9eeac35a3abd16181e75.zip
FreeBSD-src-337b50efa895f3694fae9eeac35a3abd16181e75.tar.gz
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
Diffstat (limited to 'sbin/hastctl')
-rw-r--r--sbin/hastctl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/hastctl/Makefile b/sbin/hastctl/Makefile
index 3137a75..c266666 100644
--- a/sbin/hastctl/Makefile
+++ b/sbin/hastctl/Makefile
@@ -8,7 +8,8 @@ PROG= hastctl
SRCS= activemap.c
SRCS+= crc32.c
SRCS+= ebuf.c
-SRCS+= hast_checksum.c hast_proto.c hastctl.c
+SRCS+= hast_checksum.c hast_compression.c hast_proto.c hastctl.c
+SRCS+= lzf.c
SRCS+= metadata.c
SRCS+= nv.c
SRCS+= parse.y pjdlog.c
OpenPOWER on IntegriCloud