summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge remote-tracking branch 'origin/new_commits_for_1_0_8'Tushar Gohad2015-06-2115-20/+1605
|\
| * Properly set W in the new internal RS backend. Without this, the fragment ↵new_commits_for_1_0_8Kevin Greenan2015-06-181-1/+1
| | | | | | | | | | | | length passed up is incorrect.
| * Remove excessive header install in src/Makefile.amKevin Greenan2015-06-181-6/+0
| |
| * Properly detect 64-bit architecture.Kevin Greenan2015-06-181-1/+3
| |
| * Fix 'make test' to properly run null and installed backend tests.Kevin Greenan2015-06-182-3/+4
| |
| * Fixing issue #17 to namespace header files.Kevin Greenan2015-06-181-1/+2
| |
| * Plugging new internal RS backend into liberasurecode.Kevin Greenan2015-06-185-7/+430
| |
| * Adding internal tests for the new internal RS codec.Kevin Greenan2015-06-183-1/+409
| |
| * Adding new built-in backend for RS VandermondeKevin Greenan2015-06-187-2/+758
| | | | | | | | This is meant to be used in cases where ISA-L and Jerasure cannot be used.
* | Silent autoconf warning for ac_cv_sizeof_longTushar Gohad2015-06-211-0/+1
| |
* | Mimic Zaitcev's CFLAGS fix on the debug sideTushar Gohad2015-06-211-1/+1
| | | | | | | | Ref commit: 5cbab56a1a8ba78c72e8238458b462df0611070f
* | Add get_flags_from_cpuid.c to distTushar Gohad2015-06-211-1/+1
| |
* | Merged fix_m4_macros into masterTushar Gohad2015-06-2113-9112/+169
|\ \
| * | Remove remaining m4/ referencesfix_m4_macrosTushar Gohad2015-06-218-8637/+0
| |/
| * Removing all m4 references for CPUID by creating special C program to parseKevin Greenan2015-05-034-361/+169
| | | | | | | | CPUID and directly doing compiler checks in autoconf.ac
| * Replace GPL m4 macros with different macros inside of ax_ext.m4Kevin Greenan2015-05-023-187/+73
|/
* Add missing #ifdef __cplusplus closure, Fixes #14 (take 2)Tushar Gohad2015-05-011-1/+1
|
* Merged in zaitcev/liberasurecode/missing_cflags (pull request #16)Tushar Gohad2015-04-301-1/+1
|\ | | | | | | Make ./configure to obey CFLAGS
| * Make ./configure to obey CFLAGSPete Zaitcev2015-04-301-1/+1
|/ | | | | | | | | | | | Fedora build system sets global CFLAGS that include things like mandatory security enhancements. It works for all other packages, but ./configure in liberasurecode overrides provides CFLAGS. See Red Hat bug for a humorous workaround: https://bugzilla.redhat.com/show_bug.cgi?id=1208695#c4 Note that this patch does not monkey with the --debug side. Hopefuly this does not violate KISS principle.
* Add missing #ifdef __cplusplus closure, Fixes #14Tushar Gohad2015-04-301-0/+4
|
* Fix a uint < 0 warning reported by ClangTushar Gohad2015-04-302-4/+4
| | | | Also add -Wall for future builds
* This fixed the memory leak mentioned in Issue #12:Kevin Greenan2015-04-272-1/+22
| | | | https://bitbucket.org/tsg-/liberasurecode/issue/12/make-valgrind-test-fails
* This is the fix for Issue #13:Kevin Greenan2015-04-273-37/+187
| | | | | | | | | | | | | | https://bitbucket.org/tsg-/liberasurecode/issue/13/decode-fails-for-many-cases-when-m-k This fix includes: 1.) Proper buffer allocation for the 'missing_idxs' structure, which was not allocating enough space when k > m. 2.) Checks to use header fields of parity fragments during decode when *no* data fragments are available. 3.) Fixed the unit tests to properly handle the case where k <= m. 4.) Extended the unit test framework to support multiple tests per backend 5.) Added tests for all RS implementations: (4,8), (4,4), (10,10)
* v1.0.7v1.0.7Tushar Gohad2015-04-152-2/+2
|
* Adding a new HD XOR code for k=3, m=3, hd=3Kevin Greenan2015-04-095-5/+25
| | | | | | Also added additional test to test_xor_code to do an exhaustive decode test (all possible 1 and 2 disk failures) and changed teh default liberasurecode test to test (3, 3, 3).
* Merged in fix-metadata-check (pull request #13)Tushar Gohad2015-03-303-4/+10
|\ | | | | | | fix-metadata-check from Kota
| * Add a decode error test w/o metadata checkKota Tsuyuzaki2015-03-301-0/+5
| |
| * Fix invalid metadata handlingKota Tsuyuzaki2015-03-303-5/+6
| | | | | | | | | | | | | | | | | | On the current code, get_fragment_partition might touch the invlid memory area with minus index (that means a invalid header) and it causes segmentation fault. This fixes it to handle the minus index as a EBADHEADER and then no segmentaition fault appeared on the case.
* | Merged in zaitcev/liberasurecode/missing_ldl (pull request #12)Tushar Gohad2015-03-301-1/+1
|\ \ | | | | | | | | | Fix building with --disable-static
| * | Fix building with --disable-staticPete Zaitcev2015-03-301-1/+1
|/ / | | | | | | | | | | | | | | 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.
* | Fix nasty rebuild bug where partiy would be reconstructed incorrectlyKevin Greenan2015-03-303-48/+96
|/ | | | | | | | when both data and parity was missing. The fix is to just call decode when reconstructing parity, since it will have to do extra work anyway when data is missing. We did a little extra work in ISA-L to do better, but can save that for later, since 99% of the time decode will perform just fine.
* README.md edited online with BitbucketTushar Gohad2015-03-291-2/+2
|
* Sanitize fragments_to_string() errorcodes, add tests for frags w/o fmetadataTushar Gohad2015-03-284-13/+64
| | | | Addresses issue#10
* Fixing bug where non-Intel platforms fail to compile due to SSE2-specific ↵Kevin Greenan2015-03-171-0/+2
| | | | | | header in the xor-encoder. FWIW, we did conditional compilation in the body of the code, but missed the header include.
* v1.0.5v1.0.5Tushar Gohad2015-03-132-2/+2
|
* Log to syslog and stderr by defaultTushar Gohad2015-03-131-1/+1
|
* v1.0.4v1.0.4Tushar Gohad2015-03-112-2/+2
|
* Reallow 0 byte encodesTushar Gohad2015-03-112-10/+0
|
* test: Add missing EBACKENDNOTAVAIL checksv1.0.3Tushar Gohad2015-03-101-4/+55
| | | | | | | | | | | | Without these checks, backend libraries not being available is causing errors like in tests that are missing these checks: $ make test [snip] ok 1 - test_create_backend_invalid_args: UNKNOWN lt-liberasurecode_test: liberasurecode_test.c:276: test_destroy_backend_invalid_args: Assertion `desc > 0' failed. make: *** [test] Aborted (core dumped) Closes issue #6
* Set runtime ld path to point to local so's when running testsTushar Gohad2015-03-101-6/+15
|
* WIP: fix doubtful codeKota Tsuyuzaki2015-03-091-3/+2
|
* Fix JERASURE_SONAME in alg_sig.hTushar Gohad2015-03-091-0/+4
|
* Use enum value when handling shssKota Tsuyuzaki2015-03-092-2/+2
|
* Merged in small-fix (pull request #11) Tushar Gohad2015-03-081-12/+14
|\ | | | | Memory Leak Bug Fix on shss
| * Fix memory leak by alloc internal_payloadKota Tsuyuzaki2015-03-091-12/+14
|/ | | | | | shss always needs to decode but fragments_to_string will alloc internal_payload as a decoded data. It causes duplicated memory allocation and memory leak.
* Fix so version to be 1.0.1 (was 0.9.10)v1.0.1Tushar Gohad2015-03-082-2/+2
|
* v1.0v1.0Tushar Gohad2015-03-083-3/+3
|
* Improve error code returnsTushar Gohad2015-03-082-17/+21
|
* Add md5sum implementationTushar Gohad2015-03-082-0/+340
|
* Apply EINSUFFFRAGS to reconstructKota Tsuyuzaki2015-03-062-1/+22
|