Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | liberasurecode_backend_lookup_id now returns EC_BACKENDS_MAX, asnewapi | Eric Lambert | 2014-09-26 | 2 | -7/+7 |
| | | | | | | | opposed to -1, when it can not locate the specified backend (-1 was a non-sensical return value since the function signature called for a type of ec_backend_id_t). NOTE: with this change we now successfully build and tests pass on OS X with clang. | ||||
* | crc32 checksum now supported (prior to this commit checksum values were | Eric Lambert | 2014-09-25 | 5 | -11/+15 |
| | | | | not being placed into the fragment header). | ||||
* | Add checksum testcases (but most turned off since we dont seem to be | Eric Lambert | 2014-09-25 | 1 | -54/+152 |
| | | | | supporting checksums at the moment). | ||||
* | A little bit of code clean up based on feedback/reviews | Eric Lambert | 2014-09-15 | 2 | -9/+11 |
| | |||||
* | Removed unused timer variables from libec_slap | Eric Lambert | 2014-09-11 | 1 | -12/+0 |
| | |||||
* | Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapi | Eric Lambert | 2014-09-10 | 7 | -113/+217 |
|\ | |||||
| * | Integrate doxygen with autoconf infrastructure | Tushar Gohad | 2014-09-07 | 6 | -8/+132 |
| | | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | Turn on Javadoc style brief for comments | Tushar Gohad | 2014-09-07 | 1 | -1/+1 |
| | | |||||
| * | Use printable ascii chars in README + other cleanup | Tushar Gohad | 2014-09-07 | 1 | -100/+79 |
| | | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | Constrain Doxygen to just the frontend/backend API headers | Tushar Gohad | 2014-09-03 | 1 | -6/+7 |
| | | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
* | | Compile in pedantic mode and fail compilation on warnings. Also cleanup all ↵ | Eric Lambert | 2014-09-10 | 20 | -151/+225 |
|/ | | | | existing warnings. | ||||
* | added simple test for get_fragment_metadata | Eric Lambert | 2014-09-03 | 1 | -0/+59 |
| | |||||
* | added argument validation logic and tests for | Eric Lambert | 2014-09-02 | 3 | -8/+59 |
| | | | | | | | | liberasure_get_fragment_metadata and liberasurecode_verify_stripe_metadata. In the process removed the liberasure descriptor from the liberasure_get_fragment_metadata function's signature as it was not being used in the function's implementation. | ||||
* | Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapi | Eric Lambert | 2014-09-02 | 17 | -79/+2821 |
|\ | |||||
| * | README -> README.md | Tushar Gohad | 2014-09-01 | 2 | -460/+467 |
| | | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | README edited online with Bitbucket | Tushar Gohad | 2014-09-02 | 1 | -37/+68 |
| | | |||||
| * | README edited online with Bitbucket | Tushar Gohad | 2014-09-02 | 1 | -426/+429 |
| | | |||||
| * | Add PyECLib/Swift references to README | Tushar Gohad | 2014-09-01 | 1 | -0/+5 |
| | | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | Add doxygen config. Update README, copyrights. | Tushar Gohad | 2014-09-01 | 16 | -46/+2742 |
| | | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
* | | Added more tests (most of which test that the "public" functions | Eric Lambert | 2014-09-02 | 2 | -49/+402 |
|/ | | | | | | perform some argument validity checks). Also fixed some bugs exposed by these new tests. NOTE: liberasurecode_test now *requires* that the null provider be loadable by the test (meaning is on LD_LIBRARY_PATH). | ||||
* | Fix memory corruption (did not alloc enough in the fragments_needed test). | Kevin Greenan | 2014-08-26 | 1 | -7/+7 |
| | |||||
* | skipping fragment_needed test as they have exposed some kind of memory | Eric Lambert | 2014-08-26 | 1 | -4/+3 |
| | | | | corruption issue. | ||||
* | Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapi | Eric Lambert | 2014-08-26 | 1 | -12/+158 |
|\ | |||||
| * | Freeing the memory allocated by the fragments_needed tests. | Kevin Greenan | 2014-08-26 | 1 | -0/+5 |
| | | |||||
| * | Added tests for new get_fragments_needed API. | Kevin Greenan | 2014-08-26 | 1 | -12/+153 |
| | | | | | | | | | | | | | | | | I also fixed some bugs in the tests: 1.) The Hamming distances were incorrect 2.) The translation of Hamming distance to tolerated errors was incorrect (num tolerated = HD -1) 3.) Some of the test names were manged (probably a runaway s///g) | ||||
* | | Added libec_slap test | Eric Lambert | 2014-08-26 | 4 | -1/+604 |
| | | |||||
* | | Fixed bug where null_init was not correctly setting w param (was relying on ↵ | Eric Lambert | 2014-08-26 | 1 | -0/+2 |
|/ | | | | un-initialized memory which resulted in non-deterministic behavior). | ||||
* | Merged in more_backend (pull request #5) | Tushar Gohad | 2014-08-25 | 1 | -44/+67 |
|\ | | | | | Cauchy backend cleanup | ||||
| * | Cleaned up the Cauchy backend. This has a bit more cleaned than the | Mark Storer | 2014-08-25 | 1 | -44/+67 |
|/ | | | | | | | | | other backends because Jerasure allocs more memory under the hood that we need to check on init, and cleanup on exit. Minor cleanup wise we do fewer memory derefs by saving the value of k, m and w in a few places. This is, however, probably most effective at just improving readability a bit. | ||||
* | Merged in backend (pull request #4) | Tushar Gohad | 2014-08-22 | 2 | -44/+32 |
|\ | | | | | Backend cleanup (null and vandermonde) | ||||
| * | Minor cleanup to null backend. Mostly to the exit cases. Free checks for | Mark W. Storer | 2014-08-23 | 2 | -44/+32 |
|/ | | | | | | | | null, so as long we intialize the pointers to NULL, we can be a little terser (and cleaner?) in the exits. Cleanup in the Jerasure Vandermonde backend. Primary change here was to free the memory allocated by Jerasure in the erasures_to_erased method. | ||||
* | Backend changes needed to honor "excluded fragments". | Kevin Greenan | 2014-08-21 | 9 | -132/+213 |
| | |||||
* | minor clean up | Eric Lambert | 2014-08-20 | 1 | -7/+8 |
| | |||||
* | Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapi | Eric Lambert | 2014-08-20 | 3 | -93/+129 |
|\ | | | | | | | | | Conflicts: test/liberasurecode_test.c | ||||
| * | Make style consistent (formatting, variable defs) | Tushar Gohad | 2014-08-20 | 2 | -63/+66 |
| | | | | | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
| * | API change for liberasurecode_fragments_needed | Kevin Greenan | 2014-08-20 | 2 | -14/+23 |
| | | | | | | | | | | | | | | Still needed: 1.) RS and XOR backends need to honor the 'exclude' argument. 2.) Need to add tests. | ||||
| * | Merged in doc_polish (pull request #3) | Kevin Greenan | 2014-08-20 | 3 | -25/+50 |
| |\ | | | | | | | Doc cleanup and instance destruction safety | ||||
| | * | - Cleaned up the documentation in erasurecode.h to ensure that it | Mark Storer | 2014-08-18 | 3 | -25/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | follows a common format and that it accurately reflects the code. - Cleaned up liberasurecode_instance_destroy to ensure that the return code is correct and that it is not trying to free data that has not been removed from the open instances. - Updated the tests to assert that the liberasurecode_instance_destroy method is return correctly. | ||||
* | | | decode test now inspects fragments | Eric Lambert | 2014-08-20 | 1 | -0/+21 |
|/ / | |||||
* | | disable compile time optimization when gcov is enabled | Eric Lambert | 2014-08-18 | 1 | -0/+2 |
|/ | |||||
* | Merged in lock_checks (pull request #2) | Kevin Greenan | 2014-08-16 | 1 | -12/+28 |
|\ | | | | | Updated the backend instance register/unregister methods with lock | ||||
| * | Updated the backend instance register/unregister methods with lock | Mark Storer | 2014-08-16 | 1 | -12/+28 |
| | | | | | | | | | | | | status checking. This shouldn't be an issue, but technically, lock requests can fail and so should check the return calls out of good practice. | ||||
* | | Merged in supported_checksums (pull request #1) | Kevin Greenan | 2014-08-16 | 3 | -6/+9 |
|\ \ | |/ |/| | Updated liberasurecode_supported_checksum_types to accept a pointer | ||||
| * | Updated liberasurecode_supported_checksum_types to accept a pointer | Mark Storer | 2014-08-15 | 3 | -6/+9 |
|/ | | | | | argument that holds the length of the list returned (i.e. the number of supported checksum types). | ||||
* | Added cleanup API | Kevin Greenan | 2014-08-13 | 2 | -5/+104 |
| | |||||
* | Split metadata handling into own routine, add crc32 support | Tushar Gohad | 2014-08-07 | 8 | -108/+258 |
| | | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com> | ||||
* | moar tests | Eric Lambert | 2014-08-08 | 1 | -17/+55 |
| | |||||
* | Merge branch 'newapi' of https://bitbucket.org/tsg-/liberasurecode into newapi | Eric Lambert | 2014-08-08 | 2 | -0/+2 |
|\ | |||||
| * | Minor bug in getting the required fragments for jerasure | Kevin Greenan | 2014-08-08 | 2 | -0/+2 |
| | | |||||
* | | Added ability to generate coverage data with configure --enable-gcov. | Eric Lambert | 2014-08-08 | 6 | -13/+45 |
|/ | | | | | Currently only works on Linux (build/tests will run on OS X but coverage data is not generated). |