Commit Graph

15 Commits

Author SHA1 Message Date
Tim Burke a9b20ae6a3 Use zlib for CRC-32
Previously, we had our own CRC that was almost but not quite like
zlib's implementation. However,

* it hasn't been subjected to the same rigor with regard to error-detection
  properties and
* it may not even get used, depending upon whether zlib happens to get
  loaded before or after liberasurecode.

Now, we'll use zlib's CRC-32 when writing new frags, while still
tolerating frags that were created with the old implementation.

Change-Id: Ib5ea2a830c7c23d66bf2ca404a3eb84ad00c5bc5
Closes-Bug: 1666320
2017-07-06 17:40:38 +00:00
Tushar Gohad 02fe1dc7cc Make libtool archive references relative to builddir 2015-12-10 06:14:20 -07:00
Tushar Gohad 9a01459117 Rename liberasurecode_rsvand -> liberasurecode_rs_vand 2015-06-22 02:54:53 +00:00
Tushar Gohad b15717a6c7 Rename rs_vand_internal to liberasurecode_rs_vand 2015-06-22 00:40:05 +00:00
Kevin Greenan fe537605b3 Adding internal tests for the new internal RS codec. 2015-06-18 12:31:17 -07:00
Pete Zaitcev 64d87a9064 Fix building with --disable-static
Fedora packaging rules require ./configure --disable-static.
However, that ends with:
../src/.libs/liberasurecode.so: undefined reference to `dlopen'

The fix is to add a missing -ldl into flags of test_xor_hd_code.
2015-03-30 20:00:24 -06:00
Eric Lambert a3d903d4f1 Added libec_slap test 2014-08-26 16:29:08 -07:00
Eric Lambert 9b92176b4e Added ability to generate coverage data with configure --enable-gcov.
Currently only works on Linux (build/tests will run on OS X but
coverage data is not generated).
2014-08-08 13:29:01 -07:00
Tushar Gohad 5b393fab81 algsig: Move jerasure backend dlopen up a level
.. also check for errors

Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
2014-07-22 18:25:30 -07:00
Kevin Greenan 544f944e3e Commenting out alg_sig_test for now... 2014-07-22 13:46:09 -07:00
Kevin Greenan 59bec942cb Ripping out galois.[ch] and dynamically pulling the multiplication functon from jerasure 2014-07-22 13:37:39 -07:00
Kevin Greenan 0be44ad3ca Remove required gf-complete dependency from liberasurecode.
NOTE: We need to ensure that any erasure code backend using algebraic
signatures *must use* the same exact GF as those used in this library.  This
usually means same 'w' and primitive polynomial.

I plan to make the same change to Jerasure, so it will be compatible.
2014-07-16 08:43:47 -07:00
Tushar Gohad 6533759ba5 Frontend/backend API split, make EC handle int type
.. also introduce a map for backend method stub name
to backend library function names

Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
2014-07-13 19:26:23 -07:00
Tushar Gohad ea7af2e7fc xor code backend implementation (WIP)
Facing some nasty dlopen() issues when testing with
"test/liberasurecode_test"

Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
2014-07-07 15:19:16 -07:00
Tushar Gohad 7f7687dc78 autoconf: Simplify Makefile.am by adding SUBDIRS
Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
2014-07-06 09:59:06 -07:00