[sheepdog] [PATCH v2 01/11] add forward error correction for erasure code
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Wed Oct 9 06:02:53 CEST 2013
At Thu, 26 Sep 2013 15:25:38 +0800,
Liu Yuan wrote:
>
> This is imported and based on zfec
>
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
> include/Makefile.am | 2 +-
> include/fec.h | 173 ++++++++++++++++
> include/util.h | 2 +
> lib/Makefile.am | 2 +-
> lib/fec.c | 574 +++++++++++++++++++++++++++++++++++++++++++++++++++
> sheep/sheep.c | 2 +
> sheep/sheep_priv.h | 1 +
> 7 files changed, 754 insertions(+), 2 deletions(-)
> create mode 100644 include/fec.h
> create mode 100644 lib/fec.c
>
> diff --git a/include/Makefile.am b/include/Makefile.am
> index 06e97a6..2c86984 100644
> --- a/include/Makefile.am
> +++ b/include/Makefile.am
> @@ -3,4 +3,4 @@ MAINTAINERCLEANFILES = Makefile.in config.h.in
> noinst_HEADERS = bitops.h event.h logger.h sheepdog_proto.h util.h \
> list.h net.h sheep.h exits.h strbuf.h rbtree.h \
> sha1.h option.h internal_proto.h shepherd.h work.h \
> - sockfd_cache.h compiler.h
> + sockfd_cache.h compiler.h fec.h
> diff --git a/include/fec.h b/include/fec.h
> new file mode 100644
> index 0000000..33ab565
> --- /dev/null
> +++ b/include/fec.h
> @@ -0,0 +1,173 @@
> +/*
> + * zfec -- fast forward error correction library
> + *
> + * Copyright (C) 2007-2008 Allmyds, Inc.
> + * Author: Zooko Wilcox-O'Hearn
> + *
> + * This file is part of zfec.
> + *
> + * See README.rst for licensing information.
We don't have README.rst. Please add licensing description and make
sure that it's compatible with GPLv2.
Thanks,
Kazutaka
More information about the sheepdog
mailing list